-
Notifications
You must be signed in to change notification settings - Fork 4
41 lines (34 loc) · 976 Bytes
/
ci_install.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
name: "CI Install Script"
on: [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
run: |
bash ./install.sh
if: runner.os != 'Windows'
- name: Test Installation
run: |
which extism-py
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'