Setup GitHub actions (#3) #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: debug builds | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install packages | |
run: sudo apt install -y build-essential cmake libjansson-dev nasm libz-dev clang | |
- name: make | |
run: make | |
- name: Upload a Build Artifact | |
uses: actions/upload-artifact@v2.2.4 | |
with: | |
path: bin/**/* | |
macos: | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install packages | |
run: brew install pkg-config cmake wget jansson go | |
- name: make | |
run: make | |
- name: Upload a Build Artifact | |
uses: actions/upload-artifact@v2.2.4 | |
with: | |
path: bin/**/* |