-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed gcc & emscripten actions. TODO clang.
- Loading branch information
1 parent
baeb891
commit b221cf5
Showing
15 changed files
with
193 additions
and
61 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Clang | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: medwellwillis/clang-gcc-cmake-vcpkg-git:0.2 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Build With Clang | ||
run: | | ||
cmake --preset clang-ninja | ||
cmake --build ./build/clang-ninja --config Release |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Emscripten | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: emscripten/emsdk | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Get Ninja | ||
run: | | ||
python3 -m pip install ninja | ||
- name: Build With Emscripten | ||
run: | | ||
mkdir -p build/emscripten-ninja | ||
emcmake cmake --preset emscripten-ninja -DCMAKE_SUPPRESS_DEVELOPER_WARNINGS=ON | ||
cmake --build build/emscripten-ninja --config Release |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: GCC | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: medwellwillis/clang-gcc-cmake-vcpkg-git:0.2 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Build With GCC | ||
run: | | ||
cmake --preset gcc-ninja | ||
cmake --build ./build/gcc-ninja --config Release | ||
- name: Run Tests | ||
run: | | ||
./build/gcc-ninja/UtilyTest | ||
./build/gcc-ninja/UtilyBenchmark |
This file was deleted.
Oops, something went wrong.
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
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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Start from Ubuntu base image | ||
FROM ubuntu:latest | ||
|
||
RUN apt-get update | ||
RUN apt-get upgrade -y | ||
RUN apt-get install -y curl | ||
RUN apt-get install -y git | ||
RUN apt-get install -y unzip | ||
RUN apt-get install -y tar | ||
RUN apt-get install -y gcc g++ | ||
RUN apt-get install -y wget | ||
RUN apt-get install -y cmake | ||
RUN apt-get install -y ninja-build | ||
RUN apt-get install -y build-essential | ||
RUN apt-get install -y clang=1:14.0-55~exp2 | ||
RUN apt-get autoremove -y | ||
RUN apt-get clean | ||
RUN dpkg --configure -a | ||
RUN apt-get install -y --no-install-recommends clang++=1:14.0-55~exp2 | ||
RUN apt-get autoremove -y | ||
RUN apt-get clean | ||
RUN apt-get install -y zip | ||
RUN git clone https://github.com/microsoft/vcpkg.git && ./vcpkg/bootstrap-vcpkg.sh -disableMetrics | ||
|
||
WORKDIR /workspace | ||
COPY . . |
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
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
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
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
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
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
Oops, something went wrong.