Skip to content

Update coniac

Update coniac #168

Workflow file for this run

name: osc-sdk-C tests
on:
pull_request:
branches: [ master ]
push:
branches: [ master ]
jobs:
auto-build:
environment: auto-build
runs-on: ubuntu-22.04
permissions:
# required for all workflows
security-events: write
# only required for workflows in private repositories
actions: read
contents: read
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 libjsoncpp-dev
- name: local-test
run: |
CFLAGS="-fsanitize=address -O0" make ricochet_preparation
make local-tests
make fclean
- name: Build and test
run: |
CFLAGS="-fsanitize=address -O0" make tests
make fclean
if: github.event_name != 'pull_request'
env:
OSC_ACCESS_KEY: ${{secrets.OSC_ACCESS_KEY}}
OSC_SECRET_KEY: ${{secrets.OSC_SECRET_KEY}}
OSC_REGION: ${{secrets.OSC_REGION}}
- name: codeql-init
uses: github/codeql-action/init@v2
- name: codeql-make
run: make examples ricochet_preparation
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2