Skip to content

Commit

Permalink
update action.yml & add test for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Egor00f committed Nov 12, 2024
1 parent d0f6354 commit c9ca262
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [ "main" ]

jobs:
test:
linux-test:
runs-on: ubuntu-latest
steps:
- uses: Egor00f/install-kolibrios-toolchain-action@main
Expand All @@ -19,3 +19,16 @@ jobs:
kos32-ar -V
kos32-objcopy -V
kos32-strip -V
windows-test:
runs-on: ubuntu-latest
steps:
- uses: Egor00f/install-kolibrios-toolchain-action@main

- name: Test toolchain working
run: |
kos32-gcc -v
kos32-g++ -v
kos32-ar -V
kos32-objcopy -V
kos32-strip -V
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ runs:
shell: bash


- if: runner.os == "Window"
- if: runner.os == 'Window'
run: echo "C:\MinGW\msys\1.0\home\autobuild\tools\win32\bin" >> $GITHUB_PATH
shell: bash

- if: runner.os == "Linux"
- if: runner.os == 'Linux'
run: echo "/home/autobuild/tools/win32/bin" >> $GITHUB_PATH
shell: bash

0 comments on commit c9ca262

Please sign in to comment.