Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: migrate 2/3 ci steps to void-linux containers #75

Merged
merged 7 commits into from
Nov 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 21 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,37 +11,44 @@ on:

jobs:
lint:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
container:
image: "ghcr.io/void-linux/void-musl-full:latest"

steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v4
with: { python-version: "3.8" }

- name: Install codespell
run: pip3 install codespell
run: |
xbps-install -Suy || xbps-install -u xbps
xbps-install -yu
xbps-install -y bash grep curl git python3-codespell cmake clang

- name: Checkout
uses: classabbyamp/treeless-checkout-action@v1

- name: Lint
run: cmake -D FORMAT_COMMAND=clang-format-14 -P cmake/lint.cmake
run: cmake -D FORMAT_COMMAND=clang-format -P cmake/lint.cmake

- name: Spell check
if: always()
run: cmake -P cmake/spell.cmake
sanitize:
needs: [lint]

runs-on: ubuntu-22.04
runs-on: ubuntu-latest
container:
image: "ghcr.io/void-linux/void-musl-full:latest"

env: { CXX: clang++-15 }
env: { CXX: clang++ }

steps:
- uses: actions/checkout@v3

- name: Install Deps
run: |
sudo apt-get update -q
sudo apt-get install ninja-build clang-15 -q -y
xbps-install -Suy || xbps-install -u xbps
xbps-install -yu
xbps-install -y bash git ninja cmake clang

- name: Checkout
uses: classabbyamp/treeless-checkout-action@v1

- name: Configure
run: >-
Expand Down
82 changes: 0 additions & 82 deletions .github/workflows/codeql.yml

This file was deleted.