-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
141 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Distcheck | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install deps | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libcurl4-openssl-dev | ||
- name: Build libmarias3 | ||
run: | | ||
autoreconf -fi | ||
./configure --enable-debug=yes | ||
- name: Test | ||
run: | ||
make distcheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Docs | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install deps | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libcurl4-openssl-dev python3-sphinx | ||
- name: Build libmarias3 | ||
run: | | ||
autoreconf -fi | ||
./configure | ||
- name: Build Docs | ||
run: | ||
make html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Scanbuild test | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
CC: clang | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install deps | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libcurl4-openssl-dev clang-tools | ||
- name: Build libmarias3 | ||
run: | | ||
autoreconf -fi | ||
./configure --enable-debug=yes | ||
- name: Scanbuild | ||
run: | ||
scan-build --use-cc=clang --use-c++=clang++ --status-bugs make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: USAN test | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
services: | ||
minio: | ||
# fixme: let's not depend on external unofficial image | ||
image: lazybit/minio | ||
ports: | ||
- 9000:9000 | ||
env: | ||
MINIO_ROOT_USER: accesskey | ||
MINIO_ROOT_PASSWORD: password | ||
options: --name=minio --health-cmd "curl http://localhost:9000/minio/health/live" | ||
|
||
env: | ||
S3KEY: accesskey | ||
S3SECRET: password | ||
S3REGION: "" | ||
S3BUCKET: s3-test | ||
S3HOST: 127.0.0.1 | ||
S3PORT: 9000 | ||
S3USEHTTP: 1 | ||
CC: clang | ||
CFLAGS: "-fsanitize=undefined -fsanitize=nullability" | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Create bucket | ||
run: | | ||
wget https://dl.min.io/client/mc/release/linux-amd64/mc | ||
chmod +x ./mc | ||
./mc alias set minio http://127.0.0.1:9000 accesskey password | ||
./mc mb --ignore-existing minio/s3-test | ||
- name: Install deps | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libcurl4-openssl-dev | ||
- name: Build libmarias3 | ||
run: | | ||
autoreconf -fi | ||
./configure --enable-debug=yes | ||
make | ||
- name: Test | ||
run: | ||
make check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters