Skip to content

[Fix]: Missing environment file #4

[Fix]: Missing environment file

[Fix]: Missing environment file #4

Workflow file for this run

name: CMake
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Harshie
uses: actions/checkout@v3
- name: Setup CMake and Install D++
run: |
sudo apt-get update -qy
sudo apt-get install -y build-essential cmake
sudo apt-get install -y wget libopus0
wget -O dpp.deb https://dl.dpp.dev/
sudo dpkg -i dpp.deb
- name: Create .env
env:
ENCODED_CLIENT_TOKEN: ${{ secrets.ENCODED_CLIENT_TOKEN }}
run: |
echo "ENCODED_CLIENT_TOKEN=$ENCODED_CLIENT_TOKEN" > .env
- name: Build Test
run: |
mkdir build
cd build
cmake ..
make -j8