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