Skip to content

replace pointers for channels and interaction options #33

replace pointers for channels and interaction options

replace pointers for channels and interaction options #33

Workflow file for this run

name: Build
on:
push:
branches: [ main, development ]
pull_request:
branches: [ main, development ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
- name: Install dependencies
run: sudo apt-get install -y -q zlib1g-dev libopus-dev libsodium-dev libboost-dev libboost-filesystem-dev libssl-dev
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build
- name: Build
run: cmake --build ${{github.workspace}}/build --target discord_cpp