Skip to content

Commit

Permalink
ci: comment out Linux build job for now and update Windows shell to m…
Browse files Browse the repository at this point in the history
…sys2bash
  • Loading branch information
pageldev committed Jan 19, 2025
1 parent e13c339 commit 26e8cf1
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,46 +3,46 @@ name: CI
on: [push, pull_request]

jobs:
build-linux:
name: ubuntu-22.04-release
runs-on: ubuntu-22.04
env:
CMAKE_GENERATOR: Ninja
DEBIAN_FRONTEND: noninteractive
defaults:
run:
shell: bash -e -o pipefail {0}
steps:
- name: install dependencies
run: |
sudo apt update
sudo apt install -y \
build-essential \
clang-format \
cmake \
ninja-build
- name: checkout repository
uses: actions/checkout@v4
- name: configure
run: |
cmake -S . -B build \
-DCMAKE_BUILD_TYPE=Release
- name: build
run: |
cmake --build build
- name: test
run: |
cd build
ctest --output-on-failure
- name: install
run: |
sudo cmake --install build
# build-linux:
# name: ubuntu-22.04-release
# runs-on: ubuntu-22.04
# env:
# CMAKE_GENERATOR: Ninja
# DEBIAN_FRONTEND: noninteractive
# defaults:
# run:
# shell: bash -e -o pipefail {0}
# steps:
# - name: install dependencies
# run: |
# sudo apt update
# sudo apt install -y \
# build-essential \
# clang-format \
# cmake \
# ninja-build
# - name: checkout repository
# uses: actions/checkout@v4
# - name: configure
# run: |
# cmake -S . -B build \
# -DCMAKE_BUILD_TYPE=Release
# - name: build
# run: |
# cmake --build build
# - name: test
# run: |
# cd build
# ctest --output-on-failure
# - name: install
# run: |
# sudo cmake --install build
build-windows:
name: windows-2022-release
runs-on: windows-2022
defaults:
run:
shell: msys2 {0}
shell: msys2bash {0}
steps:
- name: checkout repository
uses: actions/checkout@v4
Expand Down

0 comments on commit 26e8cf1

Please sign in to comment.