aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2024-09-24 07:59:54 -0500
committerCalvin Rose <calsrose@gmail.com>2024-09-24 07:59:54 -0500
commit39745e35583daa5f03402a6ca6d884c3fea7b5ef (patch)
treeb21d826945cc7d64f72c0d6c3b005541c2b7317b /.github/workflows
parentMore workflow changes. (diff)
Add sudo to make install.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/test.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 7a756be..3c16ca4 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -20,8 +20,10 @@ jobs:
repository: janet-lang/janet
path: janet
ref: refs/heads/master
- - name: Build + Install Janet
- run: cd janet && make clean && make && make install
+ - name: Build Janet
+ run: cd janet && make clean && make && make test
+ - name: Install Janet
+ run: cd janet && sudo make install
- name: Checkout the repository
uses: actions/checkout@v4
with:
@@ -51,7 +53,7 @@ jobs:
run: curl -fSLo janet.msi https://github.com/janet-lang/janet/releases/download/v1.36.0/janet-1.36.0-windows-x64-installer.msi
- name: Install Janet
shell: cmd
- run: msiexec /i janet.msi /passive & refreshenv
+ run: msiexec /i janet.msi /passive ALLUSERS=1 & refreshenv
- name: Build Spork
run: cd spork && janet -l ./bundle -e "(build)"
- name: Run Tests