Skip to content

Commit

Permalink
♻️ refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
cdstanford committed Nov 16, 2023
1 parent d232b13 commit 0928561
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 20 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build

on:
push:
paths: [ 'Makefile' ]
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
ubuntu:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Make install
run: make install

macos:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3

- name: Make install
run: make install
21 changes: 2 additions & 19 deletions .github/workflows/makefile.yml → .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Makefile CI
name: Checks

on:
push:
branches: [ main ]
paths: [ 'src/**', 'tests/**' ]
pull_request:
branches: [ main ]

Expand Down Expand Up @@ -33,21 +34,3 @@ jobs:

- name: Run unit tests
run: cargo test

install-ubuntu:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Make install
run: make install

install-macos:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3

- name: Make install
run: make install
2 changes: 1 addition & 1 deletion .github/workflows/test_results.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update and push test results
name: Test Results
on: push
permissions:
contents: write
Expand Down

0 comments on commit 0928561

Please sign in to comment.