Skip to content

lilith218 is testing out GitHub Actions 🚀 #47

lilith218 is testing out GitHub Actions 🚀

lilith218 is testing out GitHub Actions 🚀 #47

name: libvsync tests
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on: [push, pull_request]
jobs:
Run-Tests:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: Run all tests
run: mkdir build && cd build && cmake .. && make && ctest
- run: echo "🍏 This job's status is ${{ job.status }}."
Run-Tests-ASAN:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- run: mkdir build && cd build && cmake .. -DLIBVSYNC_ADDRESS_SANITIZER=on && make && ctest
Run-Checks:
runs-on: ubuntu-latest
container: ghcr.io/open-s4c/libvsync:lilith-verify-test
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Run Checks
run: echo "Workspace = ${{ github.workspace }}, Repo= ${{ github.repository }}"
- run: pwd
- run: cmake -S${{ github.workspace }} -Bbuild -DVSYNCER_CHECK=ON
- run: cmake --build build
- run: ctest --test-dir build -R check*
# - name: Check out repository code
# uses: actions/checkout@v4
# - run: which vsyncer
# - run: which cmake
# - run: WS=$(pwd)
# - run: ls
# - run: mkdir $WS/build
# - run: echo "$WS"
# - run: cd $WS/build
# - run: pwd
# - run: ls
# - run: cmake .. -DVSYNCER_CHECK=on
# - run: make
# - run: ctest -R check*