Skip to content

Commit

Permalink
CI debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
plvines committed Dec 12, 2024
1 parent 12345fa commit 455a0c2
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# - name: Set up QEMU
# uses: docker/setup-qemu-action@v2
# with:
# platforms: 'arm64,arm'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: 'arm64,arm'

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand Down Expand Up @@ -57,38 +57,38 @@ jobs:
with:
context: raceboat-builder-image
file: raceboat-builder-image/Dockerfile
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: ${{ steps.cache.outputs.cache-from }}
cache-to: ${{ steps.cache.outputs.cache-to }}
# build:
# runs-on: ubuntu-latest
# container:
# image: ghcr.io/tst-race/race-images/race-compile:main
# credentials:
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}
# steps:
# - name: Checkout
# uses: actions/checkout@v3
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/tst-race/raceboat/raceboat-builder:${{ steps.meta.outputs.tags }}
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3

# - name: Build
# run: ./build_it_all.sh
- name: Build
run: ./build_it_all.sh

# - name: Build-pt
# run: ./pluggable-transport/build.sh -p=build/LINUX_x86_64/language-shims/source/include/src/core
- name: Build-pt
run: ./pluggable-transport/build.sh -p=build/LINUX_x86_64/language-shims/source/include/src/core

# - name: Create Build Artifact
# run: "tar cvf ${{ github.event.repository.name }}.tar.gz -C racesdk/package/ ."
- name: Create Build Artifact
run: "tar cvf ${{ github.event.repository.name }}.tar.gz -C racesdk/package/ ."

# - name: Upload Build Artifact
# uses: actions/upload-artifact@v3
# with:
# name: "${{ github.event.repository.name }}-linux-x86_64.tar.gz"
# path: "${{ github.event.repository.name }}-linux-x86_64.tar.gz"
# retention-days: 10
- name: Upload Build Artifact
uses: actions/upload-artifact@v3
with:
name: "${{ github.event.repository.name }}-linux-x86_64.tar.gz"
path: "${{ github.event.repository.name }}-linux-x86_64.tar.gz"
retention-days: 10

# # todo base these on the raceboat image
# test-unit:
Expand Down

0 comments on commit 455a0c2

Please sign in to comment.