-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from harry-anderson/feat/harry/upgrade-pinned-v…
…ersions update pinned versions
- Loading branch information
Showing
3 changed files
with
11 additions
and
12 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 |
---|---|---|
|
@@ -14,8 +14,8 @@ jobs: | |
lto: ["ON", "OFF"] | ||
env: | ||
DEBIAN_FRONTEND: noninteractive | ||
CC: clang-13 | ||
CXX: clang++-13 | ||
CC: clang-17 | ||
CXX: clang++-17 | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
@@ -29,7 +29,7 @@ jobs: | |
- run: sudo apt install -y cmake git | ||
- run: wget https://apt.llvm.org/llvm.sh | ||
- run: chmod +x ./llvm.sh | ||
- run: sudo ./llvm.sh 13 13 | ||
- run: sudo ./llvm.sh 17 17 | ||
- run: mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_LTO=${{matrix.lto}} .. | ||
- run: cd build && make | ||
- run: cd build && ./main |
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 |
---|---|---|
@@ -1,22 +1,21 @@ | ||
From ubuntu:21.04 | ||
From ubuntu:22.04 | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC | ||
ENV PATH="/root/.cargo/bin:${PATH}" CC=clang-13 CXX=clang++-13 | ||
ENV PATH="/root/.cargo/bin:${PATH}" CC=clang-17 CXX=clang++-17 | ||
|
||
RUN apt update \ | ||
&& apt install -y build-essential curl cmake git wget lsb-release software-properties-common | ||
RUN apt-get update \ | ||
&& apt-get install -y build-essential curl cmake git wget lsb-release software-properties-common | ||
|
||
RUN curl https://sh.rustup.rs -sSf | bash -s -- --default-toolchain 1.58.0 -y | ||
RUN curl https://sh.rustup.rs -sSf | bash -s -- --default-toolchain 1.74.1 -y | ||
|
||
RUN wget https://apt.llvm.org/llvm.sh \ | ||
&& chmod +x ./llvm.sh \ | ||
&& ./llvm.sh 13 no | ||
|
||
&& ./llvm.sh 17 no | ||
|
||
COPY . /usr/src/cxx_example | ||
WORKDIR /usr/src/cxx_example | ||
|
||
RUN cargo install cxxbridge-cmd | ||
RUN cargo install cxxbridge-cmd --version 1.0.110 | ||
|
||
RUN mkdir docker-build && cd docker-build && cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_LTO=ON .. \ | ||
&& make && ./main |
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