1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-05 14:59:37 +00:00
hashcat/.github/workflows/build.yml
2022-06-27 18:32:13 +02:00

40 lines
730 B
YAML

name: Build
on:
push:
branches:
- master
tags:
- v*
paths:
- 'OpenCL/**.h'
- 'OpenCL/**.cl'
- 'include/**.h'
- 'src/**.c'
- 'tools/**'
- '**/Makefile'
pull_request:
branches:
- master
paths:
- 'OpenCL/**.h'
- 'OpenCL/**.cl'
- 'include/**.h'
- 'src/**.c'
- 'tools/**'
- '**/Makefile'
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest] # todo: windows-latest - lack of iconv development files
shared: [0, 1]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Build
env:
SHARED: ${{ matrix.shared }}
run: make