Skip to content

Commit

Permalink
using matrix to run on windows (#43)
Browse files Browse the repository at this point in the history
Want to make sure all the demo actions involving the KittyCAD cli run okay on windows.
  • Loading branch information
Irev-Dev authored Jun 6, 2022
1 parent 644fd46 commit 21645ee
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/convert-directory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ on:

jobs:
test-convert-directory-action:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: ./convert-dir/
Expand All @@ -28,3 +31,4 @@ jobs:
return 0
}
all_exist test-files-out/test-obj.fbx test-files-out/test-stl.fbx && echo "$0: all files exist" >&2
shell: bash
17 changes: 4 additions & 13 deletions .github/workflows/install-kittycad-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ on:

jobs:
test-install-cli:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: ./install-kittycad/
Expand All @@ -14,15 +17,3 @@ jobs:
run: |
echo "Version from output is: ${{ steps.install-kittycad.outputs.version }}"
kittycad --version
test-install-cli-win:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: ./install-kittycad
id: install-kittycad
- name: check-install
run: |
echo "Version from output is: ${{ steps.install-kittycad.outputs.version }}"
kittycad --version

0 comments on commit 21645ee

Please sign in to comment.