From 7dc4b4b240bfd785227082460512d2ffd4cfc79a Mon Sep 17 00:00:00 2001 From: ia7ck <23146842+ia7ck@users.noreply.github.com> Date: Sun, 21 Dec 2025 21:36:55 +0900 Subject: [PATCH 1/6] download --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 38dedffe..ff6c2315 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,6 +49,18 @@ jobs: - name: Test run: cargo test -- --nocapture + download: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.x' + - name: Install oj + run: pip3 install --upgrade setuptools wheel && pip3 install online-judge-tools && oj --version + - name: Download + run: oj download --system https://judge.yosupo.jp/problem/jump_on_tree + oj-test: runs-on: ubuntu-latest env: From 6c88259c4c86db180927f3048940689e88b7fdce Mon Sep 17 00:00:00 2001 From: ia7ck <23146842+ia7ck@users.noreply.github.com> Date: Sun, 21 Dec 2025 21:38:35 +0900 Subject: [PATCH 2/6] py 3.11 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff6c2315..04099bb2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: '3.11' - name: Install oj run: pip3 install --upgrade setuptools wheel && pip3 install online-judge-tools && oj --version - name: Download From febdfef2f352b8aefcd62c9e7f073d6bbc169705 Mon Sep 17 00:00:00 2001 From: ia7ck <23146842+ia7ck@users.noreply.github.com> Date: Sun, 21 Dec 2025 21:43:56 +0900 Subject: [PATCH 3/6] problems --- .github/workflows/ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04099bb2..288a79ae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,11 +55,13 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: '3.11' - - name: Install oj - run: pip3 install --upgrade setuptools wheel && pip3 install online-judge-tools && oj --version - - name: Download - run: oj download --system https://judge.yosupo.jp/problem/jump_on_tree + python-version: '3.x' + - run: git clone https://github.com/yosupo06/library-checker-problems + - run: cd library-checker-problems + - run: pip3 install colorlog + - run: ulimit -s unlimited + - run: ./generate.py -p unionfind + - run: ./generate.py -p jump_on_tree oj-test: runs-on: ubuntu-latest From 2dc4aaa587def0b96b1e89f79e646cff0ad0294a Mon Sep 17 00:00:00 2001 From: ia7ck <23146842+ia7ck@users.noreply.github.com> Date: Sun, 21 Dec 2025 21:46:06 +0900 Subject: [PATCH 4/6] cwd --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 288a79ae..14fc2808 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,11 +57,10 @@ jobs: with: python-version: '3.x' - run: git clone https://github.com/yosupo06/library-checker-problems - - run: cd library-checker-problems - run: pip3 install colorlog - run: ulimit -s unlimited - - run: ./generate.py -p unionfind - - run: ./generate.py -p jump_on_tree + - run: cd library-checker-problems && ./generate.py -p unionfind + - run: cd library-checker-problems && ./generate.py -p jump_on_tree oj-test: runs-on: ubuntu-latest From 4a825ff5263aaffd96b94e67969279ee99806380 Mon Sep 17 00:00:00 2001 From: ia7ck <23146842+ia7ck@users.noreply.github.com> Date: Sun, 21 Dec 2025 22:12:51 +0900 Subject: [PATCH 5/6] g++ 12 --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 14fc2808..c0b4822f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,6 +51,8 @@ jobs: download: runs-on: ubuntu-latest + env: + CXX: g++-12 steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 From e5d34ce23663b12c70a16c8d7db601578ea2d2d6 Mon Sep 17 00:00:00 2001 From: ia7ck <23146842+ia7ck@users.noreply.github.com> Date: Sun, 21 Dec 2025 22:20:51 +0900 Subject: [PATCH 6/6] test --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c0b4822f..e1672f55 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,7 +62,7 @@ jobs: - run: pip3 install colorlog - run: ulimit -s unlimited - run: cd library-checker-problems && ./generate.py -p unionfind - - run: cd library-checker-problems && ./generate.py -p jump_on_tree + - run: cd library-checker-problems && ./generate.py -p jump_on_tree --test oj-test: runs-on: ubuntu-latest