Skip to content

Commit

Permalink
Test windows-2025
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Jan 5, 2025
1 parent 5cee36a commit 36f9ef6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04, macos-15, macos-14, macos-13]
postgres-version: [17, 16, 15, 14, 13]
# os: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04, macos-15, macos-14, macos-13]
# postgres-version: [17, 16, 15, 14, 13]
include:
- os: windows-2022
postgres-version: 14
- os: windows-2019
postgres-version: 14
- os: windows-2025
postgres-version: 17
# - os: windows-2022
# postgres-version: 14
# - os: windows-2019
# postgres-version: 14
steps:
- uses: actions/checkout@v4
- uses: ./.
Expand Down
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ if (isMac()) {
// start
run(`${bin}/pg_ctl -w -D ${dataDir} start`);
} else if (isWindows()) {
if (postgresVersion != 14) {
console.log(process.env['ImageOS']);
if (postgresVersion != 17) {
throw `Postgres version not supported on Windows: ${postgresVersion}`;
}

Expand Down

0 comments on commit 36f9ef6

Please sign in to comment.