Skip to content

Enable PGO for F# projects #5754

Enable PGO for F# projects

Enable PGO for F# projects #5754

Workflow file for this run

name: CI
on:
- pull_request
jobs:
matrix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- id: file_changes
uses: trilom/[email protected]
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
bundler-cache: true
- name: Install deps
run: bundle install --jobs 4 --retry 3
- id: set-matrix
run: echo "matrix=$(bundle exec rake ci:matrix)" >> "$GITHUB_OUTPUT"
env:
FILES: ${{ steps.file_changes.outputs.files }}
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
test:
needs: matrix
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix: ${{fromJson(needs.matrix.outputs.matrix)}}
max-parallel: 4
steps:
- uses: actions/checkout@v3
- uses: actions/setup-ruby@v1
- name: Install deps
run: bundle install --jobs 4 --retry 3
- name: Docker version
run: docker -v
- name: Configure
run: bundle exec rake config
- name: Build
run: |
make "build" -f "${DIRECTORY}/.Makefile"
env:
DIRECTORY: ${{ matrix.directory }}
ENGINE: ${{ matrix.engine }}
- name: Wait
run: sleep 1
- name: Test
run: bundle exec rspec .spec
env:
LANGUAGE: ${{ matrix.language }}
FRAMEWORK: ${{ matrix.framework }}
ENGINE: ${{ matrix.engine }}