forked from rebolsource/r3
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CHANGE: more detailed info about used compilation target; new build o…
…utput names; rewritten build specification to be better prepared for a future cross-compilation possibility.
- Loading branch information
Showing
6 changed files
with
240 additions
and
219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,56 +23,56 @@ jobs: | |
|
||
- name: Build 64bit Rebol/Base using MSVC | ||
run: | | ||
./siskin.exe make/rebol3.nest [msvc %rebol3-base-x64-gcc] | ||
MOVE ./msvc/Release-x64/rebol3-base-x64-vs.exe ./ | ||
./siskin.exe make/rebol3.nest [msvc %rebol3-base-windows-x64] | ||
MOVE ./msvc/Release-x64/rebol3-base-windows-x64-vs.exe ./ | ||
- name: Build 64bit Rebol/Core using MSVC | ||
run: | | ||
./siskin.exe make/rebol3.nest [msvc %rebol3-core-x64-gcc] | ||
MOVE ./msvc/Release-x64/rebol3-core-x64-vs.exe ./ | ||
./siskin.exe make/rebol3.nest [msvc %rebol3-core-windows-x64] | ||
MOVE ./msvc/Release-x64/rebol3-core-windows-x64-vs.exe ./ | ||
- name: Build 64bit Rebol/Bulk using MSVC | ||
run: | | ||
./siskin.exe make/rebol3.nest [msvc %rebol3-bulk-x64-clang] | ||
MOVE ./msvc/Release-x64/rebol3-bulk-x64-vs.exe ./ | ||
./siskin.exe make/rebol3.nest [msvc %rebol3-bulk-windows-x64] | ||
MOVE ./msvc/Release-x64/rebol3-bulk-windows-x64-vs.exe ./ | ||
- name: Build 32bit Rebol/Base using MSVC | ||
run: | | ||
./siskin.exe make/rebol3.nest [msvc %rebol3-base-x86-gcc] | ||
MOVE ./msvc/Release-Win32/rebol3-base-x86-vs.exe ./ | ||
./siskin.exe make/rebol3.nest [msvc %rebol3-base-windows-x86] | ||
MOVE ./msvc/Release-Win32/rebol3-base-windows-x86-vs.exe ./ | ||
- name: Build 32bit Rebol/Core using MSVC | ||
run: | | ||
./siskin.exe make/rebol3.nest [msvc %rebol3-core-x86-gcc] | ||
MOVE ./msvc/Release-Win32/rebol3-core-x86-vs.exe ./ | ||
./siskin.exe make/rebol3.nest [msvc %rebol3-core-windows-x86] | ||
MOVE ./msvc/Release-Win32/rebol3-core-windows-x86-vs.exe ./ | ||
- name: Build 32bit Rebol/Bulk using MSVC | ||
run: | | ||
./siskin.exe make/rebol3.nest [msvc %rebol3-bulk-x86-clang] | ||
MOVE ./msvc/Release-Win32/rebol3-bulk-x86-vs.exe ./ | ||
./siskin.exe make/rebol3.nest [msvc %rebol3-bulk-windows-x86] | ||
MOVE ./msvc/Release-Win32/rebol3-bulk-windows-x86-vs.exe ./ | ||
############################################################################### | ||
# Building Rebol as a shared library... | ||
- name: Build 32bit Rebol/Core as a shared library using MSVC | ||
run: ./siskin.exe make/rebol3.nest [msvc %lib-rebol3-core-x86-gcc] | ||
run: ./siskin.exe make/rebol3.nest [msvc %lib-rebol3-core-windows-x86] | ||
- name: Build 64bit Rebol/Core as a shared library using MSVC | ||
run: ./siskin.exe make/rebol3.nest [msvc %lib-rebol3-core-x64-gcc] | ||
run: ./siskin.exe make/rebol3.nest [msvc %lib-rebol3-core-windows-x64] | ||
|
||
############################################################################### | ||
# Building sample host applications using Rebol as a shared library... | ||
- name: Build 32bit Rebol/Core as a host application using MSVC | ||
run: ./siskin.exe make/rebol3.nest [msvc %host-core-x86-gcc] | ||
run: ./siskin.exe make/rebol3.nest [msvc %host-core-windows-x86] | ||
- name: Build 64bit Rebol/Core as a host application using MSVC | ||
run: ./siskin.exe make/rebol3.nest [msvc %host-core-x64-gcc] | ||
run: ./siskin.exe make/rebol3.nest [msvc %host-core-windows-x64] | ||
|
||
- name: Move library and host files into root | ||
run: | | ||
MOVE ./msvc/Release-Win32/lib-rebol3-core-x86-vs.dll ./ | ||
MOVE ./msvc/Release-Win32/lib-rebol3-core-x86-vs.lib ./ | ||
MOVE ./msvc/Release-Win32/host-core-x86-vs.exe ./ | ||
MOVE ./msvc/Release-x64/lib-rebol3-core-x64-vs.dll ./ | ||
MOVE ./msvc/Release-x64/lib-rebol3-core-x64-vs.lib ./ | ||
MOVE ./msvc/Release-x64/host-core-x64-vs.exe ./ | ||
MOVE ./msvc/Release-Win32/lib-rebol3-core-windows-x86-vs.dll ./ | ||
MOVE ./msvc/Release-Win32/lib-rebol3-core-windows-x86-vs.lib ./ | ||
MOVE ./msvc/Release-Win32/host-core-windows-x86-vs.exe ./ | ||
MOVE ./msvc/Release-x64/lib-rebol3-core-windows-x64-vs.dll ./ | ||
MOVE ./msvc/Release-x64/lib-rebol3-core-windows-x64-vs.lib ./ | ||
MOVE ./msvc/Release-x64/host-core-windows-x64-vs.exe ./ | ||
############################################################################### | ||
# Collecting build artifacts... | ||
|
@@ -110,30 +110,30 @@ jobs: | |
uses: oldes/[email protected] | ||
|
||
- name: Build 64bit Rebol/Base using gcc | ||
run: ./siskin make/rebol3.nest %rebol3-base-x64-libc-gcc | ||
run: ./siskin make/rebol3.nest %rebol3-base-linux-x64 | ||
- name: Build 64bit Rebol/Core using gcc | ||
run: ./siskin make/rebol3.nest %rebol3-core-x64-libc-gcc | ||
run: ./siskin make/rebol3.nest %rebol3-core-linux-x64 | ||
- name: Build 64bit Rebol/Bulk using gcc | ||
run: ./siskin make/rebol3.nest %rebol3-bulk-x64-libc-gcc | ||
- name: Build 64bit Rebol/Base using clang | ||
run: ./siskin make/rebol3.nest %rebol3-base-x64-libc-clang | ||
- name: Build 64bit Rebol/Core using clang | ||
run: ./siskin make/rebol3.nest %rebol3-core-x64-libc-clang | ||
- name: Build 64bit Rebol/Bulk using clang | ||
run: ./siskin make/rebol3.nest %rebol3-bulk-x64-libc-clang | ||
run: ./siskin make/rebol3.nest %rebol3-bulk-linux-x64 | ||
# - name: Build 64bit Rebol/Base using clang | ||
# run: ./siskin make/rebol3.nest %rebol3-base-x64-libc-clang | ||
# - name: Build 64bit Rebol/Core using clang | ||
# run: ./siskin make/rebol3.nest %rebol3-core-x64-libc-clang | ||
# - name: Build 64bit Rebol/Bulk using clang | ||
# run: ./siskin make/rebol3.nest %rebol3-bulk-x64-libc-clang | ||
|
||
- name: Prepare 64bit Rebol/Base for upload | ||
run: | | ||
mv ./build/rebol3-base-x64-libc-gcc ./rebol3-base-x64-libc | ||
gzip -9 ./rebol3-base-x64-libc | ||
mv ./build/rebol3-base-linux-x64 ./rebol3-base-linux-x64 | ||
gzip -9 ./rebol3-base-linux-x64 | ||
- name: Prepare 64bit Rebol/Core for upload | ||
run: | | ||
mv ./build/rebol3-core-x64-libc-gcc ./rebol3-core-x64-libc | ||
gzip -9 ./rebol3-core-x64-libc | ||
mv ./build/rebol3-core-linux-x64 ./rebol3-core-linux-x64 | ||
gzip -9 ./rebol3-core-linux-x64 | ||
- name: Prepare 64bit Rebol/Bulk for upload | ||
run: | | ||
mv ./build/rebol3-bulk-x64-libc-gcc ./rebol3-bulk-x64-libc | ||
gzip -9 ./rebol3-bulk-x64-libc | ||
mv ./build/rebol3-bulk-linux-x64 ./rebol3-bulk-linux-x64 | ||
gzip -9 ./rebol3-bulk-linux-x64 | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
|
@@ -150,16 +150,16 @@ jobs: | |
uses: oldes/[email protected] | ||
|
||
- name: Build 64bit Rebol/Base using clang | ||
run: ./siskin make/rebol3.nest %rebol3-base-x64-osx | ||
run: ./siskin make/rebol3.nest %rebol3-base-macos-x64 | ||
- name: Build 64bit Rebol/Core using clang | ||
run: ./siskin make/rebol3.nest %rebol3-core-x64-osx | ||
run: ./siskin make/rebol3.nest %rebol3-core-macos-x64 | ||
- name: Build 64bit Rebol/Bulk using clang | ||
run: ./siskin make/rebol3.nest %rebol3-bulk-x64-osx | ||
run: ./siskin make/rebol3.nest %rebol3-bulk-macos-x64 | ||
|
||
# - name: Build 64bit Rebol/Core as a shared library | ||
# run: ./siskin make/rebol3.nest %lib-rebol3-core-x64-osx | ||
# run: ./siskin make/rebol3.nest %lib-rebol3-core-macos-x64 | ||
# - name: Build 64bit Rebol/Core as a host application | ||
# run: ./siskin make/rebol3.nest %host-core-x64-osx | ||
# run: ./siskin make/rebol3.nest %host-core-macos-x64 | ||
|
||
- name: Install the Apple certificate | ||
# https://docs.github.com/en/actions/guides/installing-an-apple-certificate-on-macos-runners-for-xcode-development | ||
|
@@ -187,33 +187,33 @@ jobs: | |
- name: Codesign executables | ||
env: | ||
MACOS_IDENTITY_ID: ${{ secrets.MACOS_IDENTITY_ID }} | ||
run: | | ||
/usr/bin/codesign --force -s $MACOS_IDENTITY_ID ./build/rebol3-base-x64-osx -v | ||
/usr/bin/codesign --force -s $MACOS_IDENTITY_ID ./build/rebol3-core-x64-osx -v | ||
/usr/bin/codesign --force -s $MACOS_IDENTITY_ID ./build/rebol3-bulk-x64-osx -v | ||
run: | | ||
/usr/bin/codesign --force -s $MACOS_IDENTITY_ID ./build/rebol3-base-macos-x64 -v | ||
/usr/bin/codesign --force -s $MACOS_IDENTITY_ID ./build/rebol3-core-macos-x64 -v | ||
/usr/bin/codesign --force -s $MACOS_IDENTITY_ID ./build/rebol3-bulk-macos-x64 -v | ||
- name: Prepare 64bit Rebol/Base for upload | ||
run: | | ||
mv ./build/rebol3-base-x64-osx ./rebol3-base-x64-osx | ||
gzip -9 ./rebol3-base-x64-osx | ||
mv ./build/rebol3-base-macos-x64 ./rebol3-base-macos-x64 | ||
gzip -9 ./rebol3-base-macos-x64 | ||
- name: Prepare 64bit Rebol/Core for upload | ||
run: | | ||
mv ./build/rebol3-core-x64-osx ./rebol3-core-x64-osx | ||
gzip -9 ./rebol3-core-x64-osx | ||
mv ./build/rebol3-core-macos-x64 ./rebol3-core-macos-x64 | ||
gzip -9 ./rebol3-core-macos-x64 | ||
- name: Prepare 64bit Rebol/Bulk for upload | ||
run: | | ||
mv ./build/rebol3-bulk-x64-osx ./rebol3-bulk-x64-osx | ||
gzip -9 ./rebol3-bulk-x64-osx | ||
mv ./build/rebol3-bulk-macos-x64 ./rebol3-bulk-macos-x64 | ||
gzip -9 ./rebol3-bulk-macos-x64 | ||
# - name: Prepare 64bit Rebol/Core as a shared library for upload | ||
# run: | | ||
# mv ./build/lib-rebol3-core-x64-osx ./lib-rebol3-core-x64-osx | ||
# gzip -9 ./lib-rebol3-core-x64-osx | ||
# mv ./build/lib-rebol3-core-macos-x64 ./lib-rebol3-core-macos-x64 | ||
# gzip -9 ./lib-rebol3-core-macos-x64 | ||
# - name: Prepare 64bit Rebol/Core as a host application for upload | ||
# run: | | ||
# mv ./build/host-core-x64-osx ./host-core-x64-osx | ||
# gzip -9 ./host-core-x64-osx | ||
# mv ./build/host-core-macos-x64 ./host-core-macos-x64 | ||
# gzip -9 ./host-core-macos-x64 | ||
|
||
- uses: actions/upload-artifact@v2 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,10 +22,10 @@ jobs: | |
uses: oldes/[email protected] | ||
|
||
- name: Build 64bit Rebol/Bulk using MSVC | ||
run: ./siskin.exe make/rebol3.nest [msvc %rebol3-bulk-x64-clang] | ||
run: ./siskin.exe make/rebol3.nest [msvc %rebol3-bulk-windows-x64] | ||
|
||
- name: Prepare 64bit Rebol/Bulk for upload | ||
run: MOVE ./msvc/Release-x64/rebol3-bulk-x64-vs.exe ./rebol3-bulk-x64.exe | ||
run: MOVE ./msvc/Release-x64/rebol3-bulk-windows-x64-vs.exe ./rebol3-bulk-windows-x64.exe | ||
|
||
- name: Build 64bit test extension using MSVC | ||
run: ./siskin.exe make/rebol3.nest [msvc %test-x64.rebx] | ||
|
@@ -34,7 +34,7 @@ jobs: | |
run: MOVE ./msvc/Release-x64/test-x64.rebx.dll ./test-x64.rebx | ||
|
||
- name: Test 64bit Rebol/Bulk | ||
run: ./rebol3-bulk-x64.exe -s ./src/tests/run-tests.r3 | ||
run: ./rebol3-bulk-windows-x64.exe -s ./src/tests/run-tests.r3 | ||
|
||
|
||
############################################################################### | ||
|
@@ -60,7 +60,7 @@ jobs: | |
uses: oldes/[email protected] | ||
|
||
- name: Build 64bit Rebol/Bulk using gcc | ||
run: ./siskin make/rebol3.nest %rebol3-bulk-x64-libc-gcc | ||
run: ./siskin make/rebol3.nest %rebol3-bulk-linux-x64 | ||
|
||
- name: Build 64bit test extension using gcc | ||
run: | | ||
|
@@ -69,12 +69,12 @@ jobs: | |
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/$PWD/src/tests/ | ||
- name: Test 64bit Rebol/Bulk | ||
run: ./build/rebol3-bulk-x64-libc-gcc -s ./src/tests/run-tests.r3 | ||
run: ./build/rebol3-bulk-linux-x64 -s ./src/tests/run-tests.r3 | ||
|
||
- name: Prepare 64bit Rebol/Bulk for upload | ||
run: | | ||
mv ./build/rebol3-bulk-x64-libc-gcc ./rebol3-bulk-x64-libc | ||
gzip -9 ./rebol3-bulk-x64-libc | ||
mv ./build/rebol3-bulk-linux-x64 ./rebol3-bulk-linux-x64 | ||
gzip -9 ./rebol3-bulk-linux-x64 | ||
#- name: Build 64bit Rebol/Bulk using clang | ||
# run: | | ||
|
@@ -97,20 +97,20 @@ jobs: | |
uses: oldes/[email protected] | ||
|
||
- name: Build 64bit Rebol/Bulk using clang | ||
run: ./siskin make/rebol3.nest %rebol3-bulk-x64-osx | ||
run: ./siskin make/rebol3.nest %rebol3-bulk-macos-x64 | ||
|
||
- name: Build 64bit test extension | ||
run: | | ||
./siskin make/rebol3.nest %test-x64.rebx | ||
cp ./build/test-x64.rebx ./src/tests/ | ||
- name: Test 64bit Rebol/Bulk | ||
run: ./build/rebol3-bulk-x64-osx -s ./src/tests/run-tests.r3 | ||
run: ./build/rebol3-bulk-macos-x64 -s ./src/tests/run-tests.r3 | ||
|
||
- name: Prepare 64bit Rebol/Bulk for upload | ||
run: | | ||
mv ./build/rebol3-bulk-x64-osx ./rebol3-bulk-x64-osx | ||
gzip -9 ./rebol3-bulk-x64-osx | ||
mv ./build/rebol3-bulk-macos-x64 ./rebol3-bulk-macos-x64 | ||
gzip -9 ./rebol3-bulk-macos-x64 | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.