Skip to content

Commit

Permalink
gh/workflows: Use "make release" to build pwru for testing
Browse files Browse the repository at this point in the history
To avoid situations like #245.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
  • Loading branch information
brb committed Sep 5, 2023
1 parent 50c2e2f commit 908776a
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,10 @@ jobs:
go mod verify
test -z "$(git status --porcelain)" || (echo "please run 'go mod tidy && go mod vendor', and submit your changes"; exit 1)
- name: Cache LLVM and Clang
id: cache-llvm
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: $HOME/.clang
key: llvm-15.0

- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@c135b3937686fd69c2651507aabc9925a8f9eee8
with:
version: "15.0"
directory: $HOME/.clang
cached: ${{ steps.cache-llvm.outputs.cache-hit }}

- name: Generate and build
run: make pwru
run: |
make release
tar xfv release/pwru-linux-amd64.tar.gz
- name: Store executable
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
Expand Down

0 comments on commit 908776a

Please sign in to comment.