Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix doxygen installation on older MacOS + feat: use Node 20 in GitHub Actions + support dmg setup #232

Merged
merged 15 commits into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ jobs:
- windows-2019
- ubuntu-22.04
- ubuntu-20.04
- macos-13
- macos-12
- macos-11
node:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Setting up a **cross-platform** environment for building and testing C++/C proje

`setup-cpp` can be used locally from terminal, from CI services like GitHub Actions and GitLab Pipelines, and inside containers like Docker.

`setup-cpp` is supported on many platforms. It is continuously tested on several configurations including Windows (11, 10, 2022, 2019), Linux (Ubuntu 22.04, Ubuntu 20.04, Fedora, ArchLinux), and macOS (12, 11, 10.15). `setup-cpp` is backed by unit tests for each tool and integration tests for compiling cpp projects.
`setup-cpp` is supported on many platforms. It is continuously tested on several configurations including Windows (11, 10, 2022, 2019), Linux (Ubuntu 22.04, Ubuntu 20.04, Fedora, ArchLinux), and macOS (13, 12, 11, 10.15). `setup-cpp` is backed by unit tests for each tool and integration tests for compiling cpp projects.

## Features

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ inputs:
required: false

runs:
using: "node16"
using: "node20"
main: "dist/actions/setup-cpp.js"

branding:
Expand Down
3 changes: 3 additions & 0 deletions dist/actions/actions_python.10530df8.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/actions/actions_python.10530df8.js.map

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions dist/actions/actions_python.bfd29453.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/actions/actions_python.bfd29453.js.map

This file was deleted.

2 changes: 2 additions & 0 deletions dist/actions/hdi.89f0ed6f.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/actions/hdi.89f0ed6f.js.map

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions dist/actions/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/actions/setup-cpp.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/legacy/actions_python.7877377d.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/legacy/actions_python.7877377d.js.map

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions dist/legacy/actions_python.c7411d6b.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/legacy/actions_python.c7411d6b.js.map

This file was deleted.

2 changes: 2 additions & 0 deletions dist/legacy/hdi.069dd8f5.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/legacy/hdi.069dd8f5.js.map

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions dist/legacy/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/legacy/setup-cpp.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/modern/actions_python.4fb6b558.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/modern/actions_python.4fb6b558.js.map

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions dist/modern/actions_python.6be0dfa4.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/modern/actions_python.6be0dfa4.js.map

This file was deleted.

2 changes: 2 additions & 0 deletions dist/modern/hdi.9d60a332.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/modern/hdi.9d60a332.js.map

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions dist/modern/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/modern/setup-cpp.js.map

Large diffs are not rendered by default.

30 changes: 14 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"build": "run-s clean build.packages && run-p lint.tsc build.parcel copy.matchers",
"build.packages": "pnpm run -r build",
"build.parcel": "cross-env NODE_ENV=production parcel build && babel ./dist --out-dir dist --plugins @upleveled/babel-plugin-remove-node-prefix --compact --no-babelrc --source-maps true",
"bump": "ncu -u -x numerous,execa,prettier && pnpm update",
"bump": "ncu -u -x numerous,execa,prettier,@types/node && pnpm update",
"clean": "shx rm -rf ./dist ./exe ./packages/*/dist/ && shx mkdir -p ./dist/legacy ./dist/actions ./dist/modern ",
"copy.matchers": "run-p copy.matchers.legacy copy.matchers.actions copy.matchers.modern",
"copy.matchers.legacy": "shx cp ./src/gcc/gcc_matcher.json ./dist/legacy/ && shx cp ./src/msvc/msvc_matcher.json ./dist/legacy/ && shx cp ./src/python/python_matcher.json ./dist/legacy/ && shx cp ./src/llvm/llvm_matcher.json ./dist/legacy/",
Expand Down Expand Up @@ -75,15 +75,16 @@
"@actions/exec": "^1.1.1",
"@actions/io": "^1.1.3",
"@actions/tool-cache": "^2.0.1",
"@babel/cli": "^7.23.4",
"@swc/jest": "^0.2.31",
"@babel/cli": "^7.23.9",
"@shockpkg/archive-files": "https://github.com/aminya/archive-files#54ec59fad46aca736ac6feb6c7bb526528141b9d",
"@swc/jest": "^0.2.36",
"@types/cross-spawn": "^6.0.6",
"@types/eslint": "^8.56.2",
"@types/jest": "^29.5.11",
"@types/jest": "^29.5.12",
"@types/mri": "^1.1.5",
"@types/node": "^20.11.5",
"@types/node": "^12",
"@types/prettier": "2.7.3",
"@types/semver": "^7.5.6",
"@types/semver": "^7.5.7",
"@types/which": "^3.0.3",
"@upleveled/babel-plugin-remove-node-prefix": "github:aminya/babel-plugin-remove-node-prefix#95fcbd92405b99a6eece48c493548996f12e6519",
"admina": "^1.0.1",
Expand All @@ -102,12 +103,13 @@
"execa": "^7.2.0",
"is-url-online": "^1.5.0",
"jest": "^29.7.0",
"macos-release": "^3.2.0",
"micro-memoize": "^4.1.2",
"mkdirp": "^3.0.1",
"mri": "^1.2.0",
"msvc-dev-cmd": "github:aminya/msvc-dev-cmd#97843d525947e3f3776ee359b597316909754c4d",
"npm-check-updates": "^16.14.12",
"npm-run-all2": "^6.1.1",
"npm-check-updates": "^16.14.15",
"npm-run-all2": "^6.1.2",
"numerous": "1.0.3",
"p-timeout": "^6.1.2",
"parcel": "2.11.0",
Expand All @@ -117,7 +119,7 @@
"prettier-config-atomic": "^4.0.0",
"readme-md-generator": "^1.0.0",
"retry-as-promised": "^7.0.4",
"semver": "7.5.4",
"semver": "7.6.0",
"setup-python": "github:aminya/setup-python#a783db655c6e40317e2c0c96f9d162d9c9f4a751",
"shx": "0.3.4",
"simple-update-notifier": "^2.0.0",
Expand Down Expand Up @@ -184,12 +186,8 @@
"electron": false,
"patha": "patha/dist/index.node.mjs",
"admina": "admina/dist/index.mjs",
"fs/promises": "./src/utils/compat/fs/promises.ts"
},
"pnpm": {
"overrides": {
"@actions/http-client": "2.1.0"
}
"fs/promises": "./src/utils/compat/fs/promises.ts",
"stream/promises": "./src/utils/compat/stream/promises.ts"
},
"targets": {
"main": {
Expand All @@ -206,7 +204,7 @@
"actions": {
"context": "node",
"engines": {
"node": ">=16.x"
"node": ">=20.x"
},
"includeNodeModules": {
"update-notifier": false
Expand Down
Loading
Loading