Skip to content

Commit

Permalink
Merge pull request #49 from thp/pr-builds
Browse files Browse the repository at this point in the history
Build PRs as basic sanity check
  • Loading branch information
crazii authored Dec 19, 2023
2 parents 4753a47 + 3352f5a commit 7ed1466
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/02-pr-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: PR checks
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install DJGPP
run: |
wget -P /tmp https://github.com/andrewwutw/build-djgpp/releases/download/v3.4/djgpp-linux64-gcc1220.tar.bz2
echo "8464f17017d6ab1b2bb2df4ed82357b5bf692e6e2b7fee37e315638f3d505f00 /tmp/djgpp-linux64-gcc1220.tar.bz2" | shasum -a 256 --check
tar -xf /tmp/djgpp-linux64-gcc1220.tar.bz2 -C /opt
rm /tmp/djgpp-linux64-gcc1220.tar.bz2
- name: Build project
run: |
. /opt/djgpp/setenv
make
i586-pc-msdosdjgpp-objdump -x output/sbemu.exe

0 comments on commit 7ed1466

Please sign in to comment.