Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5eed819aa3 |
@@ -3,7 +3,7 @@ run-name: ${{ gitea.actor }} build and test
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build-linux:
|
||||
build:
|
||||
runs-on: olympic
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
@@ -22,25 +22,5 @@ jobs:
|
||||
- run: tar cf nostalgia-linux-x86_64.tar nostalgia-linux-x86_64
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: 'NostalgiaStudio Linux x86_64'
|
||||
name: nostalgia-linux-x86_64
|
||||
path: nostalgia-linux-x86_64.tar
|
||||
build-mac:
|
||||
runs-on: olympic-mac
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- run: make purge configure-debug
|
||||
- run: make build
|
||||
- run: make test
|
||||
- run: make purge configure-asan
|
||||
- run: make build
|
||||
- run: make test
|
||||
- run: make purge configure-release
|
||||
- run: make build
|
||||
- run: make test
|
||||
- run: make pkg-mac
|
||||
- run: mv dist/darwin-arm64-release/NostalgiaStudio.dmg NostalgiaStudio.dmg
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: 'NostalgiaStudio Mac'
|
||||
path: NostalgiaStudio.dmg
|
||||
|
||||
Vendored
+1
@@ -93,6 +93,7 @@ purge:
|
||||
${BC_CMD_RM_RF} compile_commands.json
|
||||
.PHONY: test
|
||||
test: build
|
||||
${BC_CMD_ENVRUN} ${BC_CMD_PY3} -m mypy ${BC_VAR_SCRIPTS}
|
||||
${BC_CMD_CMAKE_BUILD} ${BC_VAR_BUILD_PATH} test
|
||||
.PHONY: test-verbose
|
||||
test-verbose: build
|
||||
|
||||
+2
-2
@@ -31,8 +31,8 @@ Error PassThroughFS::mkdir(StringViewCR path, bool recursive) noexcept {
|
||||
auto const cleanPath =
|
||||
endsWith(path, '/') ? substr(path, 0, path.size() - 1) : path;
|
||||
bool success = false;
|
||||
auto const p = cleanPath.size() ? m_path / stripSlash(cleanPath) : m_path;
|
||||
auto const u8p = p.u8string();
|
||||
auto p = cleanPath.size() ? m_path / stripSlash(cleanPath) : m_path;
|
||||
const auto u8p = p.u8string();
|
||||
oxTrace("ox.fs.PassThroughFS.mkdir", std::bit_cast<const char*>(u8p.c_str()));
|
||||
if (recursive) {
|
||||
std::error_code ec;
|
||||
|
||||
@@ -15,7 +15,7 @@ target_link_libraries(
|
||||
|
||||
target_compile_definitions(
|
||||
NostalgiaStudio PUBLIC
|
||||
OLYMPIC_APP_VERSION="dev build"
|
||||
OLYMPIC_APP_VERSION="d2026.05.0"
|
||||
OLYMPIC_APP_ID="net.drinkingtea.nostalgia.NostalgiaStudio"
|
||||
)
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<string>APPL</string>
|
||||
|
||||
<key>CFBundleVersion</key>
|
||||
<string>dev build</string>
|
||||
<string>d2026.05.0</string>
|
||||
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>12.0.0</string>
|
||||
|
||||
Reference in New Issue
Block a user