mirror of
https://github.com/hashcat/hashcat.git
synced 2025-08-01 11:28:08 +00:00
Fix workflow trigger to build linux and macos
This commit is contained in:
parent
b0c7765e88
commit
71147249d5
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -45,17 +45,19 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
shared: [0, 1]
|
shared: [0, 1]
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
os_name: Linux
|
os_name: Linux
|
||||||
os_name_lowercase: linux
|
os_name_lowercase: linux
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
os_name: MacOS
|
os_name: macOS
|
||||||
os_name_lowercase: macos
|
os_name_lowercase: macos
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
os_name: Windows
|
os_name: Windows
|
||||||
os_name_lowercase: windows
|
os_name_lowercase: windows
|
||||||
|
|
||||||
name: Build ${{ matrix.os_name }} (${{ matrix.shared == 0 && 'Static' || 'Shared' }})
|
name: Build ${{ matrix.os_name }} (${{ matrix.shared == 0 && 'Static' || 'Shared' }})
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
@ -73,14 +75,14 @@ jobs:
|
|||||||
libiconv-devel
|
libiconv-devel
|
||||||
make
|
make
|
||||||
|
|
||||||
- name: Build
|
- name: Build (Windows)
|
||||||
if: matrix.os_name_lowercase == 'windows'
|
if: matrix.os_name_lowercase == 'windows'
|
||||||
shell: msys2 {0}
|
shell: msys2 {0}
|
||||||
env:
|
env:
|
||||||
SHARED: ${{ matrix.shared }}
|
SHARED: ${{ matrix.shared }}
|
||||||
run: make
|
run: make
|
||||||
|
|
||||||
- name: Build
|
- name: Build (Linux/macOS)
|
||||||
if: matrix.os_name_lowercase != 'windows'
|
if: matrix.os_name_lowercase != 'windows'
|
||||||
env:
|
env:
|
||||||
SHARED: ${{ matrix.shared }}
|
SHARED: ${{ matrix.shared }}
|
||||||
|
Loading…
Reference in New Issue
Block a user