Skip to content

Commit

Permalink
Build PRs as basic sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
thp committed Dec 19, 2023
1 parent 9ab7bcf commit 3352f5a
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 3352f5a

Please sign in to comment.