Skip to content

Commit

Permalink
update CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
skramm committed Jun 29, 2023
1 parent eed39a0 commit 526c7b0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ jobs:
build:

runs-on: ubuntu-latest
container: skramm/debian_boost
container: skramm/debian_boost_clang

steps:
- uses: actions/checkout@v3
- name: install tools
run: apt-get update; apt-get -y install clang build-essential libboost-all-dev
# - name: install tools
# run: apt-get update; apt-get -y install clang build-essential libboost-all-dev
# run: apt-get update; apt-get -y install clang build-essential

- name: check version gcc
run: gcc --version
Expand All @@ -25,8 +26,8 @@ jobs:
run: cat /usr/include/boost/version.hpp | grep BOOST_LIB_VERSION

- name: make1
run: make
run: make -j4
- name: clean
run: make clean
- name: make2
run: make CXX=clang++
run: make CXX=clang++ -j4
9 changes: 3 additions & 6 deletions .github/workflows/msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,9 @@ jobs:
uses: TheMrMilchmann/[email protected]
with:
arch: x64
- name: engineerd/configurator
uses: engineerd/[email protected]
with:
name: boost::graph-1.82
url: https://github.com/boostorg/graph/archive/refs/tags/boost-1.82.0.zip
pathInArchive: graph-boost-1.82.0.zip/include/boost
- name: get boost
run: wget https://github.com/boostorg/graph/archive/refs/tags/boost-1.82.0.zip

- name: run msvc
run: cl /EHsc demo/sample_1.cpp

0 comments on commit 526c7b0

Please sign in to comment.