diff --git a/.github/workflows/build-freebsd.yml b/.github/workflows/build-freebsd.yml new file mode 100644 index 000000000..2b0d76de8 --- /dev/null +++ b/.github/workflows/build-freebsd.yml @@ -0,0 +1,41 @@ +name: FreeBSD Build + +on: + schedule: + # At the end of every day + - cron: '0 0 * * *' + push: + branches: + - main + - tmp + pull_request: + branches: + - main + types: [opened, synchronize, reopened] + release: + types: [created] + +jobs: + test: + runs-on: ubuntu-latest + name: Build and Test + steps: + - uses: actions/checkout@v4 + - name: Test in FreeBSD + id: test + uses: vmactions/freebsd-vm@v1 + with: + usesh: true + prepare: | + pkg install -y curl + run: | + #cd $GITHUB_WORKSPACE + pwd + ls -lah + whoami + env + freebsd-version + sysctl hw.model + sysctl hw.ncpu + sysctl hw.physmem + sysctl hw.usermem diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 1aba37213..5c92e73ff 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -24,7 +24,7 @@ jobs: run: | pip install gcovr==5.0 # 5.1 is not supported - name: Install sonar-scanner and build-wrapper - uses: SonarSource/sonarcloud-github-c-cpp@v3.1.0 + uses: SonarSource/sonarcloud-github-c-cpp@v3.2.0 - name: Install Prerequisites run: | sudo apt-get update