Build on push or pull request

Workflow to build application after pushing to master or creating pull request for that branch.
This commit is contained in:
Konrad Goławski 2022-06-01 13:39:13 +02:00
parent 124e1fd40a
commit c845645606
2 changed files with 37 additions and 0 deletions

36
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,36 @@
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
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Build
run: make

View File

@ -120,6 +120,7 @@
- Terminal: Increased size of hash name column in `--help` and `--identify` options.
- Modules: New LUKS v1 modules (29511-29543) which do not use `module_hash_binary_parse` to get data from containers anymore (use new tool `tools/luks2hashcat.py`).
- Modules: Renamed old LUKS module into LUKS v1 and added suffix *legacy* (14600).
- Workflow: Added basic workflow for GitHub Actions.
* changes v6.2.4 -> v6.2.5