Skip to content

Commit

Permalink
Merge pull request #104 from andrewbird/ci-100
Browse files Browse the repository at this point in the history
CI: Move various things into proper places
  • Loading branch information
stsp authored Jan 17, 2025
2 parents fee64c6 + cc2f8f4 commit 8082524
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,8 @@ jobs:
- name: build
run: ./ci_build.sh

- name: test prerequisites
run: ./ci_test_prereq.sh

- name: test
run: ./ci_test.sh
2 changes: 2 additions & 0 deletions ci_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
set -e

make deb

make 32 -j 9
4 changes: 3 additions & 1 deletion ci_prereq.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/bin/sh

sudo add-apt-repository ppa:jwt27/djgpp-toolchain
sudo apt-get update
sudo apt install -y \
devscripts \
equivs
equivs \
gcc-djgpp

sudo add-apt-repository ppa:stsp-0/thunk-gen
sudo add-apt-repository ppa:stsp-0/dj64
Expand Down
5 changes: 0 additions & 5 deletions ci_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

set -e

sudo dpkg -i ../comcom64*.deb

. ./ci_test_prereq.sh

if ! dosemu -td -o boot.log -E ver ; then
{
echo "================== boot.log ==================="
Expand All @@ -15,6 +11,5 @@ if ! dosemu -td -o boot.log -E ver ; then
exit 1
fi

make 32 -j 9
# make sure 32bit version also built
ls -l 32/comcom32.exe
7 changes: 3 additions & 4 deletions ci_test_prereq.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#!/bin/sh

sudo add-apt-repository ppa:dosemu2/ppa
sudo add-apt-repository ppa:jwt27/djgpp-toolchain

sudo apt update -q

sudo apt install -y \
gcc-djgpp \
dosemu2
sudo apt install -y dosemu2

sudo dpkg -i ../comcom64*.deb

0 comments on commit 8082524

Please sign in to comment.