Skip to content

add env

add env #7

Workflow file for this run

name: TICS
on:
push:
branches:
- main
- integrate-tics
jobs:
CI:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo add-apt-repository --yes ppa:mir-team/dev
sudo apt install --yes \
build-essential \
libapparmor-dev \
libboost-iostreams-dev \
libfreetype6-dev \
libmiral-dev \
libwayland-dev \
ninja-build \
pkg-config
- name: Build
run: |
cmake -Bbuild -DCMAKE_BUILD_TYPE=Debug -GNinja src
cmake --build build
- name: Install TICS tooling
environment:

Check failure on line 35 in .github/workflows/tics.yaml

View workflow run for this annotation

GitHub Actions / TICS

Invalid workflow file

The workflow is not valid. .github/workflows/tics.yaml (Line: 35, Col: 7): Unexpected value 'environment' .github/workflows/tics.yaml (Line: 41, Col: 7): Unexpected value 'environment'
TICSAUTHTOKEN: ${{ secrets.TICSAUTHTOKEN }}
run: |
. <(curl --silent --show-error "https://canonical.tiobe.com/tiobeweb/TICS/api/public/v1/fapi/installtics/Script?cfg=default&platform=linux&url=https://canonical.tiobe.com/tiobeweb/TICS/")
- name: Run TICS analysis
environment:
TICSAUTHTOKEN: ${{ secrets.TICSAUTHTOKEN }}
run: |
TICSQServer -project ubuntu-frame -tmpdir /tmp/tics -branchdir .
TICSQServer -project wlcs -tmpdir /tmp/tics -branchdir .
- name: Store TICS processing data
uses: actions/upload-artifact@v4
with:
name: TICS-data
path: /tmp/tics/ticstmpdir