Skip to content

Commit

Permalink
tries things in analyze.yml (adding tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
PatateDu609 committed May 2, 2024
1 parent 871647d commit af3ff55
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions .github/workflows/analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

volumes:
- /workspace:${{ github.workspace }}

steps:
- name: Checkout repos
uses: actions/checkout@v4
Expand All @@ -64,11 +61,8 @@ jobs:
key: cmake-debug
path: build/debug

- name: Configuring cmake
run: cmake --preset debug

- name: Build project
run: cmake --build --preset debug --jobs 2
- name: Configure and build project
run: cmake --workflow --preset pipeline-build

test:
name: Run tests
Expand All @@ -81,11 +75,15 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

volumes:
- /workspace:${{ github.workspace }}

steps:
- name: Job tests
run: |
pwd
ls -la
- name: Checkout repos
uses: actions/checkout@v4

- name: Cache cmake output
uses: actions/cache@v4
with:
key: cmake-debug
path: build/debug

- name: Run tests
run: cmake --workflow --preset pipeline-test

0 comments on commit af3ff55

Please sign in to comment.