Skip to content

Commit

Permalink
use g++
Browse files Browse the repository at this point in the history
  • Loading branch information
prudhomm committed Aug 2, 2021
1 parent 4cd1f14 commit c635a57
Showing 1 changed file with 2 additions and 64 deletions.
66 changes: 2 additions & 64 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
run: |
rm -rf build
mkdir build && cd build
CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/install ..
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/install ..
make -j5
# make install
# -
Expand All @@ -77,66 +77,4 @@ jobs:
# # Directory containing files to upload
# path: build/assets/myproject-*

check:
needs: build_code
runs-on: ubuntu-20.04
name: Check Build, Install, Run
steps:
- name: Install feelpp
uses: feelpp/[email protected]
with:
dist: ubuntu
flavor: focal
install: libfeelpp1 feelpp-tools libfeelpp-dev libfeelpp-toolboxes1-all-dev feelpp-toolboxes
- name: Download
uses: actions/download-artifact@v2
with:
# Artifact name
name: feelpp-project-artifacts
# Directory containing files to upload
path: build/assets/
- name: Display Artifact
run: ls -R
working-directory: build/assets
- name: Install Project
run: sudo dpkg -i build/assets/*.deb

deliver:
runs-on: ubuntu-20.04
needs: check
name: Docker Build, Tag, Push

steps:
- uses: actions/[email protected]
with:
lfs: true

- name: Download
uses: actions/download-artifact@v2
with:
# Artifact name
name: feelpp-project-artifacts
path: artifacts/
-
name: Set up QEMU
uses: docker/[email protected]
-
name: Set up Docker Buildx
uses: docker/[email protected]
-
name: Login to GitHub Container Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
-
name: Build container image
uses: docker/build-push-action@v2
with:
context: artifacts
repository: feelpp/feelpp-project
tags: ghcr.io/feelpp/feelpp-project:latest
file: ./Dockerfile
push: true


0 comments on commit c635a57

Please sign in to comment.