Skip to content

Commit

Permalink
Trying to build Rebol/Triangulate extension for Haiku
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Jul 17, 2024
1 parent fa619c8 commit 0cebbb5
Showing 1 changed file with 59 additions and 56 deletions.
115 changes: 59 additions & 56 deletions .github/workflows/rebol-triangulate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ jobs:

dragonflybsd:
runs-on: ubuntu-latest
if: true
if: false
steps:
- uses: actions/checkout@v4
- name: Crosscompilation for DragonFlyBSD
Expand Down Expand Up @@ -245,58 +245,61 @@ jobs:
with:
name: Rebol-Triangulate-${{github.run_id}}
path: ${{env.OUT}}/triangulate-dragonflybsd-*.gz
# Haiku-x86:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
#
# - name: Login to Docker Hub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKER_HUB_USERNAME }}
# password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
#
# - name: Download Haiku Rebol-dev container
# run: docker pull docker.io/oldes/rebol-dev:haiku-x86
#
# - name: Build all Rebol/Triangulate for Haiku OS x86
# run: docker run --rm -v $PWD:/siskin oldes/rebol-dev:haiku-x86 bash -c 'cd /siskin; rebol siskin.r3 rebol/triangulate triangulate-haiku-x86'
#
# - name: Compress result before uploading
# run: |
# sudo mv ./tree/rebol/Rebol-Triangulate/build/triangulate-haiku-x86.so ./triangulate-haiku-x86.rebx
# sudo gzip -9 ./triangulate-haiku-x86.rebx
#
# - uses: actions/upload-artifact@v3
# with:
# name: Rebol-Triangulate-${{github.run_id}}
# path: ./triangulate-*.gz
#
# Haiku-x64:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
#
# - name: Login to Docker Hub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKER_HUB_USERNAME }}
# password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
#
# - name: Download Haiku Rebol-dev container
# run: docker pull docker.io/oldes/rebol-dev:haiku-x64
#
# - name: Build all Rebol/Triangulate for Haiku OS x64
# run: docker run --rm -v $PWD:/siskin oldes/rebol-dev:haiku-x64 bash -c 'cd /siskin; rebol siskin.r3 rebol/triangulate triangulate-haiku-x64'
#
# - name: Compress result before uploading
# run: |
# sudo mv ./tree/rebol/Rebol-Triangulate/build/triangulate-haiku-x64.so ./triangulate-haiku-x64.rebx
# sudo gzip -9 ./triangulate-haiku-x64.rebx
#
# - uses: actions/upload-artifact@v3
# with:
# name: Rebol-Triangulate-${{github.run_id}}
# path: ./triangulate-*.gz

Haiku-x86:
runs-on: ubuntu-latest
if: false
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Download Haiku Rebol-dev container
run: docker pull docker.io/oldes/rebol-dev:haiku-x86

- name: Build all Rebol/Triangulate for Haiku OS x86
run: docker run --rm -v $PWD:/siskin oldes/rebol-dev:haiku-x86 bash -c 'cd /siskin; rebol siskin.r3 rebol/triangulate triangulate-x86'

- name: Compress result before uploading
run: |
sudo mv ./tree/rebol/Rebol-Triangulate/build/triangulate-x86.so $OUT/triangulate-haiku-x86.rebx
sudo gzip -9 $OUT/triangulate-haiku-x86.rebx
- uses: actions/upload-artifact@v3
with:
name: Rebol-Triangulate-${{github.run_id}}
path: ./triangulate-*.gz

Haiku-x64:
runs-on: ubuntu-latest
if: true
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Download Haiku Rebol-dev container
run: docker pull docker.io/oldes/rebol-dev:haiku-x64

- name: Build all Rebol/Triangulate for Haiku OS x64
run: docker run --rm -v $PWD:/siskin oldes/rebol-dev:haiku-x64 bash -c 'cd /siskin; rebol siskin.r3 rebol/triangulate triangulate-x64'

- name: Compress result before uploading
run: |
sudo mv ./tree/rebol/Rebol-Triangulate/build/triangulate-haiku-x64.so $OUT/triangulate-haiku-x64.rebx
sudo gzip -9 $OUT/triangulate-haiku-x64.rebx
- uses: actions/upload-artifact@v3
with:
name: Rebol-Triangulate-${{github.run_id}}
path: ./triangulate-*.gz

0 comments on commit 0cebbb5

Please sign in to comment.