forked from jwt27/djgpp-cvs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: add build workflow [closes #3]
- Loading branch information
Showing
3 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Build and test | ||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- edited | ||
- ready_for_review | ||
- reopened | ||
- synchronize | ||
push: | ||
|
||
jobs: | ||
Build_and_test: | ||
name: Build and test | ||
|
||
if: contains(github.event.head_commit.message, '[skip ci]') == false | ||
|
||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Package install | ||
run: ./ci_prereq.sh | ||
|
||
- name: Build | ||
run: | | ||
make | ||
sudo make install | ||
- name: Set up test environment | ||
run: | | ||
./ci_test_prereq.sh | ||
make demos |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
sudo apt-get update | ||
sudo apt install -y \ | ||
devscripts \ | ||
equivs | ||
|
||
sudo add-apt-repository ppa:stsp-0/thunk-gen | ||
mk-build-deps --install --root-cmd sudo |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
|
||
sudo add-apt-repository ppa:stsp-0/dj64 | ||
sudo apt install -y \ | ||
djstub |