Skip to content

Commit e4f609b

Browse files
committed
Build: modified the Github workflow
1 parent 3aec9f3 commit e4f609b

2 files changed

Lines changed: 12 additions & 14 deletions

File tree

.github/workflows/main.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,13 @@ jobs:
2323
run: ./siskin Rebol-Easing.nest --msvc easing-windows-x86
2424

2525
- name: Prepare 32bit Rebol/Easing extension
26-
run: |
27-
MD ./build/ 2> nul
28-
MOVE ./msvc/Release-Win32/easing-windows-x86.dll ./build/easing-windows-x86.rebx
26+
run: MOVE ./msvc/Release-Win32/easing-windows-x86.dll ./easing-windows-x86.rebx
2927

3028
- name: Build 64bit Rebol/Easing extension
3129
run: ./siskin Rebol-Easing.nest --msvc easing-windows-x64
3230

3331
- name: Prepare 64bit Rebol/Easing extension
34-
run: MOVE ./msvc/Release-x64/easing-windows-x64.dll ./build/easing-windows-x64.rebx
32+
run: MOVE ./msvc/Release-x64/easing-windows-x64.dll ./easing-windows-x64.rebx
3533

3634
- name: Install Rebol for extension test
3735
uses: oldes/install-rebol@v3.10.2
@@ -42,7 +40,7 @@ jobs:
4240
- uses: actions/upload-artifact@v3
4341
with:
4442
name: Rebol-Easing-CI-${{github.run_id}}
45-
path: ./build/*.rebx
43+
path: ./easing*.rebx
4644

4745
linux:
4846
runs-on: ubuntu-latest
@@ -57,7 +55,7 @@ jobs:
5755
run: ./siskin Rebol-Easing.nest --clean easing-linux-x64
5856

5957
- name: Prepare 64bit Rebol Easing extension
60-
run: mv ./build/easing-linux-x64.so ./build/easing-linux-x64.rebx
58+
run: mv ./build/easing-linux-x64.so ./easing-linux-x64.rebx
6159

6260
- name: Install Rebol for extension test
6361
uses: oldes/install-rebol@v3.10.2
@@ -66,12 +64,12 @@ jobs:
6664
run: ./rebol3 ci-test.r3
6765

6866
- name: Compress 64bit Rebol/Easing extension
69-
run: gzip -9 ./build/easing-linux-x64.rebx
67+
run: gzip -9 ./easing-linux-x64.rebx
7068

7169
- uses: actions/upload-artifact@v3
7270
with:
7371
name: Rebol-Easing-CI-${{github.run_id}}
74-
path: ./build/*.gz
72+
path: ./easing*.gz
7573

7674
macos:
7775
runs-on: macos-latest
@@ -86,7 +84,7 @@ jobs:
8684
run: ./siskin Rebol-Easing.nest --clean easing-macos-x64
8785

8886
- name: Prepare 64bit Rebol Easing extension
89-
run: mv ./build/easing-macos-x64.dylib ./build/easing-macos-x64.rebx
87+
run: mv ./build/easing-macos-x64.dylib ./easing-macos-x64.rebx
9088

9189
- name: Install Rebol for extension test
9290
uses: oldes/install-rebol@v3.10.2
@@ -95,10 +93,10 @@ jobs:
9593
run: ./rebol3 ci-test.r3
9694

9795
- name: Compress 64bit Rebol/Easing extension
98-
run: gzip -9 ./build/easing-macos-x64.rebx
96+
run: gzip -9 ./easing-macos-x64.rebx
9997

10098
- uses: actions/upload-artifact@v3
10199
with:
102100
name: Rebol-Easing-CI-${{github.run_id}}
103-
path: ./build/*.gz
101+
path: ./easing*.gz
104102

ci-test.r3

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ Rebol [
22
title: "Rebol/Easing extension CI test"
33
]
44

5-
;; register build directory as a location with existing modules...
6-
supplement system/options/module-paths to-real-file %./build/
5+
;; make sure that we load a fresh extension
6+
try [system/modules/easing: none]
7+
ease: import 'easing
78

89
;; print content of the module...
9-
ease: import 'easing
1010
? ease
1111

1212
;; try all available easing functions...

0 commit comments

Comments
 (0)