Skip to content

Commit

Permalink
Add testing to workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Jacki <[email protected]>
  • Loading branch information
TheJackiMonster committed Aug 26, 2024
1 parent dcaa651 commit 23af145
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Checkout the current branch
uses: actions/checkout@v3

- name: Install dependencies (application)
- name: Install dependencies (library)
run: |
sudo apt-get -qq update
sudo apt-get -qq install ninja-build meson gcc
Expand All @@ -45,4 +45,22 @@ jobs:
run: |
meson setup --prefix=/usr --libdir=lib build
meson compile -C build
- name: Install dependencies (testing)
run: |
sudo apt-get -qq update
sudo apt-get -qq install check
- name: Rebuild library
run: |
rm -r build
meson setup --prefix=/usr --libdir=lib build
meson compile -C build
- name: Test library
run: |
meson test -C build
- name: Install library
run: |
sudo meson install -C build

0 comments on commit 23af145

Please sign in to comment.