-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (36 loc) · 1.06 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Build Tracks
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Install Scoop - setup - build
shell: pwsh
run: |
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
scoop install just
just deps
make
gcc -E -x c tracks.pnml > tracks.nml
nmlc tracks.nml --grf=china-set-tracks.grf
- name: Pack Binaries
shell: pwsh
run: |
New-Item -ItemType Directory -Path release
Move-Item -Path china-set-tracks.grf -Destination release/
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4.4.0
with:
name: chinas-set-tracks.grf
path: ./china-set-tracks.grf