Skip to content

Commit d4f8476

Browse files
committed
Add automated build action
1 parent 763ba9c commit d4f8476

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

.github/workflows/build.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- '*'
8+
pull_request:
9+
branches:
10+
- main
11+
- '*'
12+
13+
env:
14+
# Path to the solution file relative to the root of the project.
15+
SOLUTION_FILE_PATH: .
16+
17+
permissions:
18+
contents: read
19+
20+
defaults:
21+
run:
22+
shell: bash {0}
23+
24+
jobs:
25+
build:
26+
runs-on: ubuntu-latest
27+
28+
steps:
29+
- name: Setup Requirements
30+
run: |
31+
sudo apt-get install mingw-w64
32+
33+
- name: Checkout
34+
uses: actions/checkout@v4
35+
36+
- name: Fetch Toolshed
37+
uses: robinraju/release-downloader@v1
38+
with:
39+
repository: nitros9project/toolshed
40+
fileName: toolshed-unix*.tgz
41+
latest: true
42+
extract: false
43+
out-file-path: toolshed
44+
45+
- name: Install Toolshed
46+
run: |
47+
sudo tar xvf toolshed/toolshed-unix*.tgz --strip-components=1 -C /usr/local/bin
48+
49+
- name: Install Lwtools
50+
run: |
51+
mkdir -p lwtools
52+
cd lwtools
53+
wget http://www.lwtools.ca/releases/lwtools/lwtools-4.24.tar.gz
54+
tar xvf lwtools-4.24.tar.gz
55+
cd lwtools-4.24/
56+
sudo make install
57+
58+
- name: Build NitrOS9
59+
run: |
60+
export NITROS9DIR=`pwd`
61+
sudo make
62+
sudo make dsk
63+
64+

0 commit comments

Comments
 (0)