Skip to content

Commit

Permalink
Build: using the latest Rebol version
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Jun 4, 2024
1 parent bd9b335 commit df537c3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
name: 'Rebol-MiniAudio CI'
on:
# Triggers the workflow on push or pull request events but only for the master branch
# push:
# branches: [ master ]
# pull_request:
# branches: [ master ]

push:
branches: [ master ]
paths:
- src/**
- ci-test.r3
- test.r3
- Rebol-MiniAudio.nest

pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand All @@ -17,7 +22,7 @@ jobs:
uses: actions/checkout@v3

- name: Install Siskin Builder
uses: oldes/install-siskin@v0.13.0
uses: oldes/install-siskin@v0.17.0

- name: Build 32bit Rebol/MiniAudio extension
run: ./siskin Rebol-MiniAudio.nest miniaudio-windows-x86.rebx
Expand All @@ -32,7 +37,7 @@ jobs:
run: MOVE ./build/miniaudio-windows-x64.rebx ./miniaudio-windows-x64.rebx

- name: Install Rebol for extension test
uses: oldes/install-rebol@v3.14.0
uses: oldes/install-rebol@v3.17.0
with:
product: Bulk

Expand All @@ -51,7 +56,7 @@ jobs:
uses: actions/checkout@v3

- name: Install Siskin Builder
uses: oldes/install-siskin@v0.13.0
uses: oldes/install-siskin@v0.17.0

- name: Build 64bit Rebol/MiniAudio extension
run: ./siskin Rebol-MiniAudio.nest miniaudio-linux-x64
Expand All @@ -60,7 +65,7 @@ jobs:
run: mv ./build/miniaudio-linux-x64.so ./miniaudio.rebx

- name: Install Rebol for extension test
uses: oldes/install-rebol@v3.14.0
uses: oldes/install-rebol@v3.17.0
with:
product: Bulk

Expand All @@ -84,7 +89,7 @@ jobs:
uses: actions/checkout@v3

- name: Install Siskin Builder
uses: oldes/install-siskin@v0.13.0
uses: oldes/install-siskin@v0.17.0

- name: Build 64bit Rebol/MiniAudio extension
run: ./siskin Rebol-MiniAudio.nest miniaudio-macos-x64
Expand All @@ -93,7 +98,7 @@ jobs:
run: mv ./build/miniaudio-macos-x64.dylib ./miniaudio-macos-x64.rebx

- name: Install Rebol for extension test
uses: oldes/install-rebol@v3.14.0
uses: oldes/install-rebol@v3.17.0
with:
product: Bulk

Expand Down
2 changes: 2 additions & 0 deletions ci-test.r3
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Rebol [
]

print ["Running test on Rebol build:" mold to-block system/build]
system/options/quiet: false
system/options/log/rebol: 4

;; make sure that we load a fresh extension
try [system/modules/miniaudio: none]
Expand Down

0 comments on commit df537c3

Please sign in to comment.