Skip to content

does it work?

does it work? #8

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run.
on: [push, pull_request, workflow_dispatch]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-22.04
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v2
- name: Get branch
run: |
echo $PATH
echo "BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
- name: print branch
run: |
echo $BRANCH
- name: install clang17
run: |
wget https://apt.llvm.org/llvm.sh
chmod u+x llvm.sh
sudo ./llvm.sh 17
apt search libc++ | grep libc++
sudo apt install libc++-17-dev libc++abi-17-dev
- name: clang version
run: |
clang --version
- name: clang-17 version
run: |
clang-17 --version
- name: build travis
run: |
clang++-17 -std=c++20 -stdlib=libc++ TravisTest/main.cpp -o travis
- name: run it
run: |
./travis