Skip to content

Commit

Permalink
feat!: Update toolchain to 0.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vfusco committed Aug 11, 2023
1 parent 3471e55 commit 7ea9113
Show file tree
Hide file tree
Showing 10 changed files with 241 additions and 384 deletions.
31 changes: 20 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
name: Build
on: [push]
env:
TOOLCHAIN_IMAGE: ${{ secrets.DOCKER_ORGANIZATION }}/toolchain
TOOLCHAIN_TAG: 0.14.0
TOOLCHAIN_IMAGE: ghcr.io/${{ github.repository_owner }}/toolchain
TOOLCHAIN_TAG: feature-bump-gcc
jobs:
tools:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.CI_TOKEN }}

- name: Login to GHCR
uses: docker/login-action@v2
Expand All @@ -19,6 +18,12 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

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

- name: Export makefile variables
run: make env >> $GITHUB_ENV

Expand All @@ -28,18 +33,16 @@ jobs:
- name: Buildx setup
uses: docker/setup-buildx-action@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Docker meta
id: docker_meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v4
with:
images: ${{ secrets.DOCKER_ORGANIZATION }}/machine-emulator-tools
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- name: Build [${{ env.MACHINE_EMULATOR_TOOLS_TAR_GZ }}]
id: docker_build
uses: docker/build-push-action@v4
Expand Down Expand Up @@ -86,13 +89,19 @@ jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.CI_TOKEN }}

- name: Login to GHCR
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Login to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down
4 changes: 2 additions & 2 deletions linux/htif/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

UNAME:=$(shell uname)

TOOLCHAIN_IMAGE ?= cartesi/toolchain
TOOLCHAIN_TAG ?= 0.14.0
TOOLCHAIN_IMAGE ?= ghcr.io/cartesi/toolchain
TOOLCHAIN_TAG ?= feature-bump-gcc
RISCV_ARCH ?= rv64gc
RISCV_ABI ?= lp64d

Expand Down
Loading

0 comments on commit 7ea9113

Please sign in to comment.