-
Notifications
You must be signed in to change notification settings - Fork 36
41 lines (33 loc) · 1.06 KB
/
compile-test.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
name: Compile test
on: [push, pull_request]
env:
simba-download: https://github.com/ollydev/Simba/releases/download/simba1400-lape-update/Simba-Win32.exe
srl-download: https://github.com/Torwent/SRL.git
jobs:
test:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Move files
shell: bash
run: |
mkdir ./WaspLib
for f in *; do if [ "./WaspLib" == "$f" ]; then continue; fi; mv "$f" "./WaspLib"; done
- name: Setup SRL
shell: bash
run: git clone ${{ env.srl-download }}
- name: Move files
shell: bash
run: |
mkdir ./Includes
mv ./SRL/ ./Includes/SRL/
mv ./WaspLib/ ./Includes/WaspLib/
- name: Download Simba
shell: bash
run: curl --retry 5 -L -o Simba.exe ${{ env.simba-download }}
- name: Compile Test
shell: bash
run: |
echo '{$I SRL/osr.simba}{$I WaspLib/osr.simba}' > test.simba
./Simba.exe --compile test.simba