Skip to content

Commit

Permalink
ci: test install script
Browse files Browse the repository at this point in the history
  • Loading branch information
zshipko committed Sep 25, 2024
1 parent 5148f9b commit 544d3ed
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci_install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "CI Install Script"

on: [push, pull_request]

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- name: linux
os: ubuntu-latest
- name: macos
os: macos-latest
# - name: windows
# os: windows-latest
steps:
- uses: actions/checkout@v2

- name: Test Install Script (Linux)
run: |
sh install.sh
~/.local/bin/extism-py --version
if: runner.os != 'Windows'

# - name: Test Install Script Part1 (Windows)
# run: |
# powershell -executionpolicy bypass -File .\install-windows.ps1
# if: runner.os == 'Windows'

# - name: Test Install Script Part2 (Windows)
# run: |
# $env:Path = "C:\Program Files\Extism\;C:\Program Files\Binaryen\;" + $env:Path
# extism-py --version
# if: runner.os == 'Windows'

0 comments on commit 544d3ed

Please sign in to comment.