forked from dosemu2/comcom64
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request dosemu2#52 from andrewbird/ci-02
Ci 02
- Loading branch information
Showing
5 changed files
with
70 additions
and
20 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,43 @@ | ||
name: Build | ||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- edited | ||
- ready_for_review | ||
- reopened | ||
- synchronize | ||
push: | ||
|
||
jobs: | ||
build: | ||
if: contains(github.event.head_commit.message, '[skip ci]') == false | ||
|
||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: package install | ||
run: ./ci_prereq.sh | ||
|
||
- name: build | ||
run: ./ci_build.sh | ||
|
||
- name: test | ||
run: ./ci_test.sh | ||
|
||
- name: pages | ||
if: github.ref == 'refs/heads/master' | ||
run: | | ||
mkdir -p pub/files | ||
zip --junk-paths pub/files/comcom32.zip comcom32.exe | ||
echo '<a href="files/comcom32.zip">Latest build</a>' > pub/index.html | ||
- name: deploy | ||
if: github.ref == 'refs/heads/master' | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_branch: gh-pages | ||
publish_dir: pub |
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
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 | ||
|
||
set -e | ||
|
||
make deb |
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,12 @@ | ||
#!/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 \ | ||
acl \ | ||
gcc-djgpp \ | ||
devscripts \ | ||
debhelper |
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,7 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
sudo dpkg -i ../comcom32*amd64.deb | ||
sudo apt-get install -qq -f dosemu2 fdpp | ||
dosemu -td -E ver |