SDK v0.5.0 for API v1.30.0 #279
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
name: tests | |
on: | |
pull_request: | |
branches: [ master ] | |
push: | |
branches: [ master ] | |
jobs: | |
auto-build: | |
environment: auto-build | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install dependancies | |
run: | | |
sudo apt-get update --fix-missing | |
sudo apt-get install -y -f -o Acquire::Retries=3 jq libjson-c-dev libcurl4-openssl-dev pkg-config libfuse2 cargo | |
- name: Build and test | |
run: | | |
CFLAGS="-fsanitize=address -O0 -g" make | |
make oapi-cli-x86_64.AppImage | |
make tests-all | |
env: | |
OSC_ACCESS_KEY: ${{secrets.OSC_ACCESS_KEY}} | |
OSC_SECRET_KEY: ${{secrets.OSC_SECRET_KEY}} | |
OSC_REGION: ${{secrets.OSC_REGION}} |