Create linux-ci.yml #1
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: Linux CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install dependencies | |
run: sudo apt install libsdl2-dev libglew-dev libxxhash-dev libxbyak-dev | |
- name: build | |
run: make USER=1 | |
- name: compress | |
run: zip ctremu-linux.zip ./ctremu | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: ./ctremu-linux.zip |