Skip to content

Commit ddc38dc

Browse files
committed
ci: ci-fresh-install — fix GCC version, remove PR trigger
- GCC: don't set toolchain default (GCC is already default after xlings install mcpp), fixes "gcc@ is not installed" error - Remove pull_request trigger: ci-fresh-install tests released mcpp (not PR code), so it should not block PRs. Runs on push to main, workflow_dispatch, and daily schedule only.
1 parent f5f0fe2 commit ddc38dc

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/ci-fresh-install.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@ name: ci-fresh-install
77
# 1. mcpp new hello → mcpp run (basic project)
88
# 2. mcpp build (build mcpp itself from source)
99
#
10-
# This workflow does NOT run on PRs — it tests released mcpp, not PR code.
11-
# Triggered manually or on a schedule to catch regressions after releases.
10+
# This workflow tests released mcpp, not PR code.
11+
# It does NOT run on PRs — only on push to main, manual trigger, and daily schedule.
12+
# Failures here mean the released mcpp has issues, not that the PR is broken.
1213

1314
on:
1415
push:
1516
branches: [ main ]
16-
pull_request:
17-
branches: [ main ]
1817
workflow_dispatch:
1918
schedule:
2019
# Run daily at 06:00 UTC to catch issues from xlings/runner updates
@@ -48,15 +47,13 @@ jobs:
4847
4948
- name: "GCC: mcpp new → run"
5049
run: |
51-
mcpp toolchain default gcc
5250
cd "$(mktemp -d)"
5351
mcpp new hello_gcc
5452
cd hello_gcc
5553
mcpp run
5654
5755
- name: "GCC: build mcpp"
5856
run: |
59-
mcpp toolchain default gcc
6057
mcpp clean
6158
mcpp build
6259

0 commit comments

Comments
 (0)