Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Apr 15, 2024
1 parent 47c50bd commit cae2ed4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/bun-mac-x64-baseline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
arch: x86_64
tag: bun-darwin-x64-baseline
obj: bun-obj-darwin-x64-baseline
runner: macos-12-large
runner: macos-13-large
artifact: bun-obj-darwin-x64-baseline
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
arch: x86_64
tag: bun-darwin-x64-baseline
obj: bun-obj-darwin-x64-baseline
runner: macos-12-large
runner: macos-13-large
artifact: bun-obj-darwin-x64-baseline
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -243,7 +243,7 @@ jobs:
tag: bun-darwin-x64-baseline
obj: bun-obj-darwin-x64-baseline
package: bun-darwin-x64
runner: macos-12-large
runner: macos-13-large
artifact: bun-obj-darwin-x64-baseline
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -379,7 +379,7 @@ jobs:
matrix:
include:
- tag: bun-darwin-x64-baseline
runner: macos-12-large
runner: macos-13-large
steps:
- id: checkout
name: Checkout
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/bun-mac-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
arch: x86_64
tag: bun-darwin-x64
obj: bun-obj-darwin-x64
runner: macos-12-large
runner: macos-13-large
artifact: bun-obj-darwin-x64
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
arch: x86_64
tag: bun-darwin-x64
obj: bun-obj-darwin-x64
runner: macos-12-large
runner: macos-13-large
artifact: bun-obj-darwin-x64
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -241,7 +241,7 @@ jobs:
tag: bun-darwin-x64
obj: bun-obj-darwin-x64
package: bun-darwin-x64
runner: macos-12-large
runner: macos-13-large
artifact: bun-obj-darwin-x64
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -376,7 +376,7 @@ jobs:
matrix:
include:
- tag: bun-darwin-x64
runner: macos-12-large
runner: macos-13-large
steps:
- id: checkout
name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bun-release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Test Release Script
strategy:
matrix:
machine: [namespace-profile-bun-linux-x64, linux-arm64, macos-arm64, macos-12-large, windows-latest]
machine: [namespace-profile-bun-linux-x64, linux-arm64, macos-arm64, macos-13-large, windows-latest]
fail-fast: false
runs-on: ${{ matrix.machine }}
permissions:
Expand Down
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1125,7 +1125,6 @@ if(UNIX AND NOT APPLE)
"-fuse-ld=lld"
"-static-libstdc++"
"-static-libgcc"
"-fuse-ld=lld"
"-Wl,-z,now"
"-Wl,--as-needed"
"-Wl,--gc-sections"
Expand All @@ -1142,7 +1141,6 @@ if(UNIX AND NOT APPLE)
"-Wl,--wrap=fstat"
"-Wl,--wrap=fstatat"
"-Wl,--wrap=lstat64"
"-Wl,--wrap=stat64"
"-Wl,--wrap=fstat64"
"-Wl,--wrap=fstatat64"
"-Wl,--wrap=mknod"
Expand Down
2 changes: 1 addition & 1 deletion src/codegen/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function fmtCPPCharArray(str: string, nullTerminated: boolean = true) {
}

export function declareASCIILiteral(name: string, value: string) {
const [chars, count] = fmtCPPCharArray(value);
const [chars, count] = fmtCPPCharArray(value, true);
return `static constexpr const char ${name}Bytes[${count}] = ${chars};
static constexpr ASCIILiteral ${name} = ASCIILiteral::fromLiteralUnsafe(${name}Bytes);`;
}
Expand Down

0 comments on commit cae2ed4

Please sign in to comment.