Compare commits

...

14 Commits

Author SHA1 Message Date
github-actions[bot] 3c6f758b8a chore(build): update dist 2024-10-26 00:28:42 +00:00
renovate[bot] 5dd9d98206
fix(deps): update dependencies 2024-10-26 00:27:24 +00:00
Amin Yahyaabadi e0e749b984 ci: use node/pnpm versions from config files [skip ci] 2024-10-25 00:20:06 -07:00
Amin Yahyaabadi ac7fe2df3f
Merge pull request #311 from aminya/renovate/node-22.x [skip ci] 2024-10-25 00:18:16 -07:00
renovate[bot] 780290387b
chore(deps): update dependency node to v22.10.0 2024-10-25 07:08:50 +00:00
Amin Yahyaabadi 905cc44d65
Merge pull request #310 from aminya/renovate/pnpm-9.x [skip ci] 2024-10-25 00:08:28 -07:00
renovate[bot] 50b145e467
chore(deps): update pnpm to v9.12.2 2024-10-19 02:15:22 +00:00
Amin Yahyaabadi 094e4c470d
Merge pull request #309 from aminya/renovate/pnpm-9.x [skip ci] 2024-10-12 07:18:13 -07:00
renovate[bot] 3f505ba05e
chore(deps): update pnpm to v9.12.1 2024-10-07 14:04:46 +00:00
Amin Yahyaabadi 24f9b03dc4 fix: fix ci-info not running in an ESM context 2024-10-06 20:48:03 -07:00
Amin Yahyaabadi d485b24c12 chore: v0.44.0 [skip test] 2024-10-02 14:14:36 -07:00
Amin Yahyaabadi 9935084e22
Merge pull request #308 from aminya/artifacts [skip ci] 2024-10-02 14:10:40 -07:00
Amin Yahyaabadi 2a67ff955e fix: add amd64_x86 architecture alias [skip ci] 2024-10-02 14:09:04 -07:00
Amin Yahyaabadi 76f06a9dda fix!: update Conan to v2
BREAKING Now the default Conan version is v2 instead of v1
2024-10-02 13:53:03 -07:00
48 changed files with 369 additions and 232 deletions

View File

@ -20,16 +20,11 @@ jobs:
Build:
runs-on: ${{ matrix.os }}
name: Build
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-22.04
node:
- 22.6.0
pnpm:
- 9.11.0
steps:
- uses: actions/checkout@v4
with:
@ -38,12 +33,10 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
node-version-file: "./.nvmrc"
- name: Setup Pnpm
uses: pnpm/action-setup@v2
with:
version: ${{ matrix.pnpm }}
uses: pnpm/action-setup@v4
- name: Install
run: |
@ -84,7 +77,6 @@ jobs:
BuildExecutable:
name: Build-Executable-${{ matrix.os }}
needs: [Build]
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
@ -94,10 +86,6 @@ jobs:
- ubuntu-24.04
- macos-13
- macos-14 # arm64
node:
- 22
pnpm:
- 9.11.0
steps:
- uses: actions/checkout@v4
@ -109,12 +97,10 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
node-version-file: "./.nvmrc"
- name: Setup Pnpm
uses: pnpm/action-setup@v2
with:
version: ${{ matrix.pnpm }}
uses: pnpm/action-setup@v4
- name: Cache node_modules
uses: actions/cache@v4
@ -123,7 +109,7 @@ jobs:
~/.pnpm-store
D:\.pnpm-store
./node_modules
key: "setupcpp-node_modules-cache-OS:${{ matrix.os }}-node:${{ matrix.node }}-pnpm:${{ matrix.pnpm }}-${{ hashFiles('./.npmrc') }}-deps:${{ hashFiles('./package.json') }}"
key: "setupcpp-node_modules-cache-OS:${{ matrix.os }}-${{ hashFiles('./.npmrc', './package.json', '.nvmrc', './packages/*/package.json') }}"
restore-keys: |
"setupcpp-node_modules-cache-OS:${{ matrix.os }}-"
@ -146,7 +132,6 @@ jobs:
Test:
name: Test-${{ matrix.os }}
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
needs: [Build]
runs-on: ${{ matrix.os }}
strategy:
@ -161,10 +146,6 @@ jobs:
- macos-14
- macos-13
- macos-12
node:
- 22
pnpm:
- 9.11.0
steps:
- uses: actions/checkout@v4
with:
@ -178,12 +159,10 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
node-version-file: "./.nvmrc"
- name: Setup Pnpm
uses: pnpm/action-setup@v2
with:
version: ${{ matrix.pnpm }}
uses: pnpm/action-setup@v4
- name: Cache node_modules
uses: actions/cache@v4
@ -192,7 +171,7 @@ jobs:
~/.pnpm-store
D:\.pnpm-store
./node_modules
key: "setupcpp-node_modules-cache-OS:${{ matrix.os }}-node:${{ matrix.node }}-pnpm:${{ matrix.pnpm }}-${{ hashFiles('./.npmrc') }}-deps:${{ hashFiles('./package.json') }}"
key: "setupcpp-node_modules-cache-OS:${{ matrix.os }}-${{ hashFiles('./.npmrc', './package.json', '.nvmrc', './packages/*/package.json') }}"
restore-keys: |
"setupcpp-node_modules-cache-OS:${{ matrix.os }}-"
@ -234,7 +213,6 @@ jobs:
Docker:
name: Docker-${{ matrix.container.image }}
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
needs: [Build]
runs-on: ${{ matrix.os }}
strategy:
@ -242,17 +220,13 @@ jobs:
matrix:
os:
- ubuntu-24.04
node:
- 22
pnpm:
- 9.11.0
container:
- { file: "ubuntu-llvm.dockerfile", image: "setup-cpp-ubuntu-llvm", tag: "22.04-0.43.0" }
- { file: "fedora-llvm.dockerfile", image: "setup-cpp-fedora-llvm", tag: "40-0.43.0" }
- { file: "arch-llvm.dockerfile", image: "setup-cpp-arch-llvm", tag: "base-0.43.0" }
- { file: "ubuntu-mingw.dockerfile", image: "setup-cpp-ubuntu-mingw", tag: "22.04-0.43.0" }
# - { file: "fedora-mingw.dockerfile", image: "setup-cpp-fedora-mingw", tag: "40-0.43.0" }
# - { file: "arch-mingw.dockerfile", image: "setup-cpp-arch-mingw", tag: "base-0.43.0" }
- { file: "ubuntu-llvm.dockerfile", image: "setup-cpp-ubuntu-llvm", tag: "22.04-0.44.0" }
- { file: "fedora-llvm.dockerfile", image: "setup-cpp-fedora-llvm", tag: "40-0.44.0" }
- { file: "arch-llvm.dockerfile", image: "setup-cpp-arch-llvm", tag: "base-0.44.0" }
- { file: "ubuntu-mingw.dockerfile", image: "setup-cpp-ubuntu-mingw", tag: "22.04-0.44.0" }
# - { file: "fedora-mingw.dockerfile", image: "setup-cpp-fedora-mingw", tag: "40-0.44.0" }
# - { file: "arch-mingw.dockerfile", image: "setup-cpp-arch-mingw", tag: "base-0.44.0" }
steps:
- uses: actions/checkout@v4
with:

2
.nvmrc
View File

@ -1 +1 @@
v22.6.0
22.10.0

View File

@ -26,6 +26,9 @@
"[yaml]": {
"editor.defaultFormatter": "dprint.dprint"
},
"[github-actions-workflow]": {
"editor.defaultFormatter": "dprint.dprint"
},
"cSpell.advanced.feature.useReferenceProviderWithRename": true,
"cSpell.checkOnlyEnabledFileTypes": false,
"cSpell.numSuggestions": 3,

View File

@ -57,22 +57,22 @@ NOTE: setup-cpp requires Nodejs 12 or higher. If Nodejs shipped with your distri
#### With executable
Download the executable for your platform from [here](https://github.com/aminya/setup-cpp/releases/tag/v0.43.0), and run it with the available options. You can also automate downloading using `curl`, or other similar tools.
Download the executable for your platform from [here](https://github.com/aminya/setup-cpp/releases/tag/v0.44.0), and run it with the available options. You can also automate downloading using `curl`, or other similar tools.
```shell
# windows x64
curl -o ./setup-cpp.exe -LJ "https://github.com/aminya/setup-cpp/releases/download/v0.43.0/setup-cpp-x64-windows.exe"
curl -o ./setup-cpp.exe -LJ "https://github.com/aminya/setup-cpp/releases/download/v0.44.0/setup-cpp-x64-windows.exe"
# linux x64
curl -o ./setup-cpp -LJ "https://github.com/aminya/setup-cpp/releases/download/v0.43.0/setup-cpp-x64-linux"
curl -o ./setup-cpp -LJ "https://github.com/aminya/setup-cpp/releases/download/v0.44.0/setup-cpp-x64-linux"
chmod +x ./setup-cpp
# macos arm64
curl -o ./setup-cpp -LJ "https://github.com/aminya/setup-cpp/releases/download/v0.43.0/setup-cpp-arm64-macos"
curl -o ./setup-cpp -LJ "https://github.com/aminya/setup-cpp/releases/download/v0.44.0/setup-cpp-arm64-macos"
chmod +x ./setup-cpp
# macos x64
curl -o ./setup-cpp -LJ "https://github.com/aminya/setup-cpp/releases/download/v0.43.0/setup-cpp-x64-macos"
curl -o ./setup-cpp -LJ "https://github.com/aminya/setup-cpp/releases/download/v0.44.0/setup-cpp-x64-macos"
chmod +x ./setup-cpp
```
@ -131,13 +131,19 @@ jobs:
uses: actions/cache@v3
with:
path: |
./build/
~/vcpkg
./build/vcpkg_installed
${{ env.HOME }}/.cache/vcpkg/archives
~/.cache/vcpkg/archives
${{ env.LOCALAPPDATA }}/vcpkg/archives
${{ env.APPDATA }}/vcpkg/archives
${{ env.XDG_CACHE_HOME }}/vcpkg/archives
${{ env.LOCALAPPDATA }}\vcpkg\archives
${{ env.APPDATA }}\vcpkg\archives
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ env.BUILD_TYPE }}-${{ hashFiles('**/CMakeLists.txt') }}-${{ hashFiles('./vcpkg.json')}}
~/.cache/ccache
~/.ccache
~/.config/ccache
~/Library/Caches/ccache
${{ env.LOCALAPPDATA }}/ccache
${{ env.XDG_CACHE_HOME }}/ccache
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ env.BUILD_TYPE }}-${{ hashFiles('**/CMakeLists.txt', './vcpkg.json') }}
restore-keys: |
${{ runner.os }}-${{ env.BUILD_TYPE }}-
@ -161,19 +167,19 @@ To provide fast development environments, `setup-cpp` provides several prebuilt
You can use these images as a base image for your project.
```dockerfile
FROM aminya/setup-cpp-ubuntu-llvm:22.04-0.43.0 AS builder
FROM aminya/setup-cpp-ubuntu-llvm:22.04-0.44.0 AS builder
```
```dockerfile
FROM aminya/setup-cpp-ubuntu-mingw:22.04-0.43.0 AS builder
FROM aminya/setup-cpp-ubuntu-mingw:22.04-0.44.0 AS builder
```
```dockerfile
FROM aminya/setup-cpp-fedora-llvm:40-0.43.0 AS builder
FROM aminya/setup-cpp-fedora-llvm:40-0.44.0 AS builder
```
```dockerfile
FROM aminya/setup-cpp-arch-llvm:base-0.43.0 AS builder
FROM aminya/setup-cpp-arch-llvm:base-0.44.0 AS builder
```
The names are in the format `aminya/setup-cpp-<platform>-<compiler>:<platform_version>-<setup_cpp_version>`.
@ -192,7 +198,7 @@ RUN apt-get update -qq && \
# install nodejs
apt-get install -y --no-install-recommends nodejs npm && \
# install setup-cpp
npm install -g setup-cpp@v0.43.0 && \
npm install -g setup-cpp@v0.44.0 && \
# install the compiler and tools
setup-cpp \
--nala true \
@ -301,7 +307,7 @@ stages:
apt-get install -y --no-install-recommends nodejs npm
# install setup-cpp
npm install -g setup-cpp@v0.43.0
npm install -g setup-cpp@v0.44.0
# install the compiler and tools
./setup-cpp-x64-linux --compiler $compiler --cmake true --ninja true --ccache true --vcpkg true

View File

@ -81,6 +81,7 @@ words:
- noreply
- nothrow
- npmrc
- nvmrc
- Opencppcoverage
- OSSDK
- papm

View File

@ -6,7 +6,7 @@ RUN pacman -Syuu --noconfirm && \
# install nodejs
pacman -S --noconfirm --needed nodejs npm && \
# install setup-cpp
npm install -g setup-cpp@v0.43.0 && \
npm install -g setup-cpp@v0.44.0 && \
# install the compiler and tools
setup-cpp \
--compiler llvm \

View File

@ -6,7 +6,7 @@ RUN pacman -Syuu --noconfirm && \
# install nodejs
pacman -S --noconfirm --needed nodejs npm && \
# install setup-cpp
npm install -g setup-cpp@v0.43.0 && \
npm install -g setup-cpp@v0.44.0 && \
# install the compiler and tools
setup-cpp \
--compiler mingw \

View File

@ -4,7 +4,7 @@ FROM fedora:40 AS setup-cpp-fedora
# install nodejs
RUN dnf -y install nodejs npm && \
# install setup-cpp
npm install -g setup-cpp@v0.43.0 && \
npm install -g setup-cpp@v0.44.0 && \
# install the compiler and tools
setup-cpp \
--compiler llvm \

View File

@ -4,7 +4,7 @@ FROM fedora:40 AS setup-cpp-fedora-mingw
# install nodejs
RUN dnf -y install nodejs npm && \
# install setup-cpp
npm install -g setup-cpp@v0.43.0 && \
npm install -g setup-cpp@v0.44.0 && \
# install the compiler and tools
setup-cpp \
--compiler mingw \

View File

@ -11,7 +11,7 @@ RUN apt-get update -qq && \
apt-get update -qq && \
apt-get install -y --no-install-recommends nodejs && \
# install setup-cpp
npm install -g setup-cpp@v0.43.0 && \
npm install -g setup-cpp@v0.44.0 && \
# install the compiler and tools
setup-cpp \
--nala true \

View File

@ -5,7 +5,7 @@ RUN apt-get update -qq && \
# install nodejs
apt-get install -y --no-install-recommends nodejs npm && \
# install setup-cpp
npm install -g setup-cpp@v0.43.0 && \
npm install -g setup-cpp@v0.44.0 && \
# install the compiler and tools
setup-cpp \
--nala true \

View File

@ -5,7 +5,7 @@ RUN apt-get update -qq && \
# install nodejs
apt-get install -y --no-install-recommends nodejs npm && \
# install setup-cpp
npm install -g setup-cpp@v0.43.0 && \
npm install -g setup-cpp@v0.44.0 && \
# install the compiler and tools
setup-cpp \
--nala true \

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
{
"name": "setup-cpp",
"version": "0.43.0"
"version": "0.44.0"
}

View File

@ -1,6 +1,6 @@
{
"name": "setup-cpp",
"version": "0.43.0",
"version": "0.44.0",
"description": "Install all the tools required for building and testing C++/C projects.",
"repository": "https://github.com/aminya/setup-cpp",
"license": "Apache-2.0",
@ -187,7 +187,7 @@
"node": ">=12.x",
"pnpm": "^9"
},
"packageManager": "pnpm@9.11.0",
"packageManager": "pnpm@9.12.2",
"workspaces": [
"packages/*"
],

View File

@ -1,6 +1,6 @@
{
"name": "ci-log",
"version": "1.0.1",
"version": "1.0.2",
"description": "Colorful logging and print for any environment including GitHub Actions",
"repository": "https://github.com/aminya/setup-cpp",
"homepage": "https://github.com/aminya/setup-cpp/tree/master/packages/ci-log",

View File

@ -1,5 +1,6 @@
import * as core from "@actions/core"
import { GITHUB_ACTIONS } from "ci-info"
import ciInfo from "ci-info"
const { GITHUB_ACTIONS } = ciInfo
export function error(err: string | Error) {
return GITHUB_ACTIONS ? core.error(err) : console.log(`\x1b[31m${err}\x1b[0m`)

View File

@ -1,6 +1,6 @@
{
"name": "envosman",
"version": "1.0.2",
"version": "1.0.3",
"description": "Manage environment variables, PATH, and rc files",
"repository": "https://github.com/aminya/setup-cpp",
"homepage": "https://github.com/aminya/setup-cpp/tree/master/packages/envosman",
@ -18,7 +18,7 @@
},
"dependencies": {
"@actions/core": "^1.10.1",
"@types/node": "22.5.5",
"@types/node": "22.8.1",
"admina": "^1.0.1",
"ci-info": "^4.0.0",
"escape-path-with-spaces": "^1.0.2",

View File

@ -1,6 +1,7 @@
import { promises } from "fs"
import { exportVariable as ghExportVariable } from "@actions/core"
import { GITHUB_ACTIONS } from "ci-info"
import ciInfo from "ci-info"
const { GITHUB_ACTIONS } = ciInfo
import { error, info } from "ci-log"
import { execPowershell } from "exec-powershell"
import { defaultRcPath, sourceRCInRc } from "./rc-file.js"

View File

@ -1,7 +1,8 @@
import { promises } from "fs"
import { delimiter } from "path"
import { addPath as ghAddPath } from "@actions/core"
import { GITHUB_ACTIONS } from "ci-info"
import ciInfo from "ci-info"
const { GITHUB_ACTIONS } = ciInfo
import { error, info } from "ci-log"
import { execPowershell } from "exec-powershell"
import { defaultRcPath, sourceRCInRc } from "./rc-file.js"

View File

@ -17,8 +17,8 @@
"prepublishOnly": "pnpm run build"
},
"dependencies": {
"execa": "7.2.0",
"which": "^4.0.0",
"execa": "9.4.1",
"which": "^5.0.0",
"@types/node": "^22.0.0"
},
"devDependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "setup-apt",
"version": "2.0.0",
"version": "2.0.2",
"description": "Setup apt packages and repositories in Debian/Ubuntu-based distributions",
"repository": "https://github.com/aminya/setup-cpp",
"homepage": "https://github.com/aminya/setup-cpp/tree/master/packages/setup-apt",
@ -9,6 +9,11 @@
"main": "./dist/index.js",
"source": "./src/index.ts",
"type": "module",
"files": [
"dist",
"src",
"tsconfig.json"
],
"scripts": {
"build": "tsc --pretty",
"dev": "tsc --watch --pretty",
@ -17,14 +22,14 @@
"prepublishOnly": "pnpm run build"
},
"dependencies": {
"@types/node": "22.5.5",
"@types/node": "22.8.1",
"admina": "^1.0.1",
"ci-info": "^4.0.0",
"path-exists": "^5.0.0",
"ci-log": "workspace:*",
"envosman": "workspace:*",
"which": "4.0.0",
"execa": "7.2.0",
"which": "5.0.0",
"execa": "9.4.1",
"escape-string-regexp": "^5.0.0",
"node-downloader-helper": "2.1.9",
"memoizee": "^0.4.17"

View File

@ -1,6 +1,7 @@
import { promises } from "fs"
import { execRoot } from "admina"
import { GITHUB_ACTIONS } from "ci-info"
import ciInfo from "ci-info"
const { GITHUB_ACTIONS } = ciInfo
import { sourceRC } from "envosman"
import type { RcOptions } from "envosman/dist/rc-file.js"
const { appendFile } = promises

View File

@ -1,6 +1,6 @@
{
"name": "setup-brew",
"version": "1.0.1",
"version": "1.0.2",
"description": "Setup brew and brew packages",
"repository": "https://github.com/aminya/setup-cpp",
"homepage": "https://github.com/aminya/setup-cpp/tree/master/packages/setup-brew",
@ -9,6 +9,11 @@
"main": "./dist/index.js",
"source": "./src/index.ts",
"type": "module",
"files": [
"dist",
"src",
"tsconfig.json"
],
"scripts": {
"build": "tsc --pretty",
"dev": "tsc --watch --pretty",
@ -18,11 +23,11 @@
"test": "jest --coverage"
},
"dependencies": {
"@types/node": "22.5.5",
"@types/node": "22.8.1",
"ci-log": "workspace:*",
"envosman": "workspace:*",
"which": "4.0.0",
"execa": "7.2.0",
"which": "5.0.0",
"execa": "9.4.1",
"setup-apt": "workspace:*",
"node-downloader-helper": "2.1.9"
},

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,5 @@
import { GITHUB_ACTIONS } from "ci-info"
import ciInfo from "ci-info"
const { GITHUB_ACTIONS } = ciInfo
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers.js"
import { getVersion } from "../../versions/versions.js"
import { setupCmake } from "../cmake.js"

View File

@ -1,6 +1,7 @@
import path from "path"
import { fileURLToPath } from "url"
import { GITHUB_ACTIONS } from "ci-info"
import ciInfo from "ci-info"
const { GITHUB_ACTIONS } = ciInfo
import { error, info, warning } from "ci-log"
import { addEnv } from "envosman"
import { execa } from "execa"

View File

@ -1,6 +1,7 @@
import path, { join } from "path"
import { fileURLToPath } from "url"
import { GITHUB_ACTIONS } from "ci-info"
import ciInfo from "ci-info"
const { GITHUB_ACTIONS } = ciInfo
import { info } from "ci-log"
import { addEnv, addPath } from "envosman"
import { pathExists } from "path-exists"

View File

@ -2,7 +2,8 @@ import { tmpdir } from "os"
import path, { delimiter, join } from "path"
import { fileURLToPath } from "url"
import { execRootSync } from "admina"
import { GITHUB_ACTIONS } from "ci-info"
import ciInfo from "ci-info"
const { GITHUB_ACTIONS } = ciInfo
import { info, warning } from "ci-log"
import { addEnv } from "envosman"
import memoize from "memoizee"

View File

@ -2,7 +2,8 @@ import path, { join } from "path"
import { fileURLToPath } from "url"
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
import { GITHUB_ACTIONS } from "ci-info"
import ciInfo from "ci-info"
const { GITHUB_ACTIONS } = ciInfo
import { error, info, warning } from "ci-log"
import { findVcvarsall, vsversion_to_versionnumber } from "msvc-dev-cmd/lib.js"
import { pathExists } from "path-exists"

View File

@ -1,4 +1,5 @@
import { GITHUB_ACTIONS } from "ci-info"
import ciInfo from "ci-info"
const { GITHUB_ACTIONS } = ciInfo
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers.js"
import { getVersion } from "../../versions/versions.js"
import { setupNinja } from "../ninja.js"

View File

@ -1,4 +1,5 @@
import { GITHUB_ACTIONS } from "ci-info"
import ciInfo from "ci-info"
const { GITHUB_ACTIONS } = ciInfo
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers.js"
import { getVersion } from "../../versions/versions.js"
import { setupPowershell } from "../powershell.js"

View File

@ -1,4 +1,5 @@
import { GITHUB_ACTIONS } from "ci-info"
import ciInfo from "ci-info"
const { GITHUB_ACTIONS } = ciInfo
import { info } from "ci-log"
import { ubuntuVersion } from "../../utils/env/ubuntu_version.js"
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers.js"

View File

@ -1,7 +1,8 @@
import path, { join } from "path"
import { fileURLToPath } from "url"
import { debug } from "@actions/core"
import { GITHUB_ACTIONS } from "ci-info"
import ciInfo from "ci-info"
const { GITHUB_ACTIONS } = ciInfo
import { info, warning } from "ci-log"
import { pathExists } from "path-exists"
import { findPyPyVersion } from "setup-python/src/find-pypy.js"

View File

@ -2,7 +2,8 @@ import assert from "assert"
import { homedir } from "os"
import { dirname, join, parse as pathParse } from "path"
import { getExecOutput } from "@actions/exec"
import { GITHUB_ACTIONS } from "ci-info"
import ciInfo from "ci-info"
const { GITHUB_ACTIONS } = ciInfo
import { info, warning } from "ci-log"
import { addPath } from "envosman"
import { execa } from "execa"

View File

@ -1,4 +1,5 @@
import { GITHUB_ACTIONS } from "ci-info"
import ciInfo from "ci-info"
const { GITHUB_ACTIONS } = ciInfo
import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-helpers.js"
import { getVersion } from "../../versions/versions.js"
import { setupTask } from "../task.js"

View File

@ -1,4 +1,4 @@
export const x86_64 = ["x64", "amd64", "x86_64", "win64", "64"]
export const x86_64 = ["x64", "amd64", "x86_64", "win64", "64", "amd64_x86"]
export const x86 = ["x86", "i386", "ia32", "win32", "32", "x32"]
export const arm64 = ["aarch64", "arm64", "woa64", "arm"]
export const armv7 = ["armv7", "armv7a"]

View File

@ -1,7 +1,8 @@
import { tmpdir } from "os"
import { basename, join } from "path"
import { cacheDir, downloadTool, find } from "@actions/tool-cache"
import { GITHUB_ACTIONS } from "ci-info"
import ciInfo from "ci-info"
const { GITHUB_ACTIONS } = ciInfo
import { info, warning } from "ci-log"
import { addPath } from "envosman"
import { chmod } from "fs/promises"

View File

@ -18,8 +18,7 @@ export const DefaultVersions: Record<string, string | undefined> = {
"clang-format": defaultLLVM,
clangformat: defaultLLVM,
ninja: "1.12.1", // https://github.com/ninja-build/ninja/releases
cmake: "3.30.3", // https://github.com/Kitware/CMake/releases
conan: "1.65.0", // 2.7.1 // https://github.com/conan-io/conan/releases
cmake: "3.30.4", // https://github.com/Kitware/CMake/releases
meson: "1.5.2", // https://github.com/mesonbuild/meson/releases
kcov: "42", // https://github.com/SimonKagstrom/kcov/releases
task: "3.39.2", // https://github.com/go-task/task/releases