Skip to content

Commit

Permalink
action tst
Browse files Browse the repository at this point in the history
  • Loading branch information
Udopia committed Feb 29, 2024
1 parent 05b4be2 commit da68b84
Showing 1 changed file with 6 additions and 27 deletions.
33 changes: 6 additions & 27 deletions .github/workflows/linux_build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,40 +4,19 @@ on:
push:
branches: [ master ]

jobs:

jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
# Set fail-fast to false to ensure that feedback is delivered for all matrix combinations. Consider changing this to true when your workflow is stable.
fail-fast: false

matrix:
os: [ubuntu-latest]
build_type: [Release]
c_compiler: [gcc]
cpp_compiler: [g++]
runs-on: ubuntu-latest

steps:
# - uses: actions/checkout@v3
# # Add ssh-key to clone repository cadical
# - uses: webfactory/ssh-agent@v0.9.0
# with:
# ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- uses: actions/checkout@v3

- name: Install libarchive
run: sudo apt install libarchive-dev
shell: bash

shell: bash
- name: Configure CMake
run: cmake .
# run: >
# cmake -B ${{ github.workspace }}/build
# -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
# -DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
# -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
# -S ${{ github.workspace }}
run: cmake -B ${{ github.workspace }}/build -S ${{ github.workspace }}

- name: Build
run: cmake -B ${{ github.workspace }}/build # --config ${{ matrix.build_type }}
Expand Down

0 comments on commit da68b84

Please sign in to comment.