Skip to content

Commit

Permalink
Upgrade to latest cxx-common version 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ekilmer committed Jul 24, 2023
1 parent a4b1ab2 commit fc0d671
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ on:
branches:
- '*'

env:
CC: clang
CXX: clang++

jobs:
build_linux:
strategy:
Expand All @@ -30,7 +34,7 @@ jobs:
name: Rellic CI
runs-on: "gha-ubuntu-32"
container:
image: docker.pkg.github.com/lifting-bits/cxx-common/vcpkg-builder-${{ matrix.image.name }}:${{ matrix.image.tag }}
image: ghcr.io/lifting-bits/cxx-common/vcpkg-builder-${{ matrix.image.name }}-v2:${{ matrix.image.tag }}
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/diff_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
image:
- { name: 'ubuntu', tag: '20.04', codename: 'focal' }
llvm: [ '16' ]
common_base: [ 'https://github.com/lifting-bits/cxx-common/releases/latest/download' ]
common_base: [ 'https://github.com/lifting-bits/cxx-common/releases/download/v0.4.1' ]

env:
CC: clang-${{ matrix.llvm }}
Expand All @@ -22,7 +22,7 @@ jobs:
name: Diff in ouput between old and new rellic
runs-on: gha-ubuntu-32
container:
image: docker.pkg.github.com/lifting-bits/cxx-common/vcpkg-builder-${{ matrix.image.name }}:${{ matrix.image.tag }}
image: ghcr.io/lifting-bits/cxx-common/vcpkg-builder-${{ matrix.image.name }}-v2:${{ matrix.image.tag }}
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ FROM ${BUILD_BASE} as base
# Build-time dependencies go here
# See here for full list of those dependencies
# https://github.com/lifting-bits/cxx-common/blob/master/docker/Dockerfile.ubuntu.vcpkg
FROM trailofbits/cxx-common-vcpkg-builder-ubuntu:${UBUNTU_VERSION} as deps
FROM ghcr.io/lifting-bits/cxx-common/vcpkg-builder-ubuntu-v2:${UBUNTU_VERSION} as deps
ARG UBUNTU_VERSION
ARG ARCH
ARG LLVM_VERSION
Expand All @@ -30,6 +30,8 @@ ARG LLVM_VERSION
ARG LIBRARIES
ENV TRAILOFBITS_LIBRARIES="${LIBRARIES}"
ENV PATH="${LIBRARIES}/llvm/bin/:${LIBRARIES}/cmake/bin:${PATH}"
ENV CC=clang
ENV CXX=clang++

WORKDIR /rellic
COPY ./ ./
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ CURR_DIR=$( pwd )
BUILD_DIR="${CURR_DIR}/rellic-build"
INSTALL_DIR=/usr/local
LLVM_VERSION=llvm-16
CXX_COMMON_VERSION=v0.3.2
CXX_COMMON_VERSION=v0.4.1
OS_VERSION=unknown
ARCH_VERSION=unknown
BUILD_FLAGS=
Expand Down

0 comments on commit fc0d671

Please sign in to comment.