kolibrios-gcc-toolchain/.github/workflows/test.yml

51 lines
1.0 KiB
YAML
Raw Normal View History

2024-11-07 04:19:54 +01:00
name: test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
2024-11-07 04:19:54 +01:00
workflow_dispatch:
jobs:
2024-11-07 13:38:42 +01:00
linux-install:
2024-11-07 04:19:54 +01:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run script
2024-11-07 13:38:42 +01:00
run: ${{ github.workspace }}/./install.sh
2024-11-07 04:19:54 +01:00
- name: Add toolchain to path
2024-11-07 04:27:35 +01:00
run: echo "/home/autobuild/tools/win32/bin" >> $GITHUB_PATH
2024-11-07 04:26:12 +01:00
- name: Test run
2024-11-07 04:19:54 +01:00
run: |
kos32-gcc -v
kos32-g++ -v
2024-11-07 13:38:42 +01:00
windows-install:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Install depends
run: |
choco install wget
choco install 7zip
2024-11-07 13:38:42 +01:00
- name: Run script
run: ${{ github.workspace }}/install.bat
- name: Add toolchain to path
2024-11-07 16:38:27 +01:00
run: echo "C:\MinGW\msys\1.0\home\autobuild\tools\win32\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
2024-11-07 13:38:42 +01:00
- name: Test run
2024-11-07 13:38:42 +01:00
run: |
kos32-g++ -v
2024-11-08 08:45:07 +01:00
kos32-gcc -v
shell: cmd
2024-11-07 04:19:54 +01:00