Skip to content

Commit 0329a40

Browse files
Split into 3 workflows, easiest for each compiler badge
1 parent d63f625 commit 0329a40

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed
Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
name: "Nix"
1+
name: Clang
22
on:
33
pull_request:
44
push:
55
jobs:
6-
gcc-build:
7-
runs-on: ubuntu-latest
8-
steps:
9-
- uses: actions/checkout@v4
10-
- uses: cachix/install-nix-action@v31
11-
with:
12-
github_access_token: ${{ secrets.GITHUB_TOKEN }}
13-
- run: nix flake check
146
clang-build:
157
runs-on: macos-latest
168
steps:

.github/workflows/ubuntu.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: GCC
2+
on:
3+
pull_request:
4+
push:
5+
jobs:
6+
gcc-build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- uses: cachix/install-nix-action@v31
11+
with:
12+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
13+
- run: nix flake check

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Archetype
22

3-
[![GCC Build](https://github.com/williamhaarhoff/archetype/actions/workflows/nix.yml/badge.svg)](https://github.com/williamhaarhoff/archetype/actions/workflows/nix.yml)
3+
[![GCC Build](https://github.com/williamhaarhoff/archetype/actions/workflows/ubuntu.yml/badge.svg)](https://github.com/williamhaarhoff/archetype/actions/workflows/ubuntu.yml)
4+
[![Clang Build](https://github.com/williamhaarhoff/archetype/actions/workflows/macos.yml/badge.svg)](https://github.com/williamhaarhoff/archetype/actions/workflows/macos.yml)
45
[![MSVC Build](https://github.com/williamhaarhoff/archetype/actions/workflows/windows.yml/badge.svg)](https://github.com/williamhaarhoff/archetype/actions/workflows/windows.yml)
56

67
![](docs/archetype.png)

0 commit comments

Comments
 (0)