-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (39 loc) · 1.15 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
name: test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
linux-install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run script
run: ${{ github.workspace }}/./install.sh
- name: Add toolchain to path
run: echo "/home/autobuild/tools/win32/bin" >> $GITHUB_PATH
- name: Test run
run: |
kos32-gcc -v
kos32-g++ -v
windows-install:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Install depends
run: |
choco install wget
choco install 7zip
- name: Run script
run: ${{ github.workspace }}/install.bat
- name: Add toolchain to path
run: echo "C:\MinGW\msys\1.0\home\autobuild\tools\win32\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Test run
run: |
C:\MinGW\msys\1.0\home\autobuild\tools\win32\bin\kos32-gcc -v
C:\MinGW\msys\1.0\home\autobuild\tools\win32\bin\kos32-g++ -v
kos32-g++ -v
kos32-gcc -v
shell: cmd