Skip to content

Commit

Permalink
build: try and improve some naming
Browse files Browse the repository at this point in the history
  • Loading branch information
NoxHarmonium committed Jul 9, 2024
1 parent 3d30650 commit cc698c7
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ env:

jobs:
build-and-push-image:
name: Upload builder image for SIRC Tiledit
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down
25 changes: 16 additions & 9 deletions .github/workflows/sirc-tiledit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,11 @@ defaults:

jobs:
build:
name: Build and Test on ${{ matrix.os }} with Meson v${{ matrix.meson_version }}
runs-on: ${{ matrix.os }}
name: Quality Checks
runs-on: ubuntu-latest
container:
# TODO: Change this to 'main' after merge
image: ghcr.io/noxharmonium/sirc-tiledit-build:main
options: --user root
strategy:
matrix:
os: [ubuntu-24.04]
# TODO: Get version from .tool-versions?
meson_version: ["1.4.1"]

steps:
- name: Checkout code
Expand All @@ -37,7 +31,6 @@ jobs:
run: |
meson --version
meson setup -Db_coverage=true --buildtype debug build-debug/
meson setup --buildtype release build-release/
- name: Compile Project (Debug)
run: |
cd build-debug
Expand All @@ -63,6 +56,19 @@ jobs:
ninja clang-tidy
clang-format --version
ninja clang-format-check
build-release:
name: Build Release
runs-on: ubuntu-latest
needs: [build]
container:
image: ghcr.io/noxharmonium/sirc-tiledit-build:main
options: --user root
steps:
- name: Configure Project
run: |
meson --version
meson setup --buildtype release build-release/
- name: Compile Project (Release)
run: |
cd build-release
Expand All @@ -80,6 +86,7 @@ jobs:
if-no-files-found: error

upload-to-codecov:
name: Upload Coverage
runs-on: ubuntu-latest
needs: [build]
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sirc-vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ env:

jobs:
build:
name: Quality Checks
runs-on: ubuntu-latest

steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
- main
jobs:
build:
name: Convert TODOs to Issues
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
Expand Down

0 comments on commit cc698c7

Please sign in to comment.