Skip to content

Commit

Permalink
add github action
Browse files Browse the repository at this point in the history
  • Loading branch information
andrej committed Oct 31, 2024
1 parent 9f0f08b commit a903e71
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build and Test libc++
on:
push:
schedule:
# Run nightly at 08:00 UTC (aka 00:00 Pacific, aka 03:00 Eastern)
- cron: '0 8 * * *'

permissions:
contents: read # Default everything to read-only

env:


jobs:
job1:
runs-on: ubuntu-latest
strategy:
#fail-fast: false
#matrix:
# config: [
# 'generic-cxx03',
# 'generic-cxx26',
# 'generic-modules'
# ]
# cc: [ 'clang-19' ]
# cxx: [ 'clang++-19' ]
# include:
# - config: 'generic-gcc'
# cc: 'gcc-14'
# cxx: 'g++-14'
steps:
- uses: actions/checkout@v4
- name: checkout and build
run: ./ci/run.sh
#libcxx/utils/ci/run-buildbot ${{ matrix.config }}
#env:
# CC: ${{ matrix.cc }}
# CXX: ${{ matrix.cxx }}
8 changes: 8 additions & 0 deletions ci/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

echo "Running ./docker/setup-llvm.sh"
sudo ./docker/setup-llvm.sh
echo "Running ./docker/setup-deps.sh"
sudo ./docker/setup-deps.sh
echo "Running ./docker/setup-build.sh"
sudo ./docker/setup-build.sh

0 comments on commit a903e71

Please sign in to comment.