Skip to content

Commit 905822a

Browse files
authored
Merge pull request #37 from Certseeds/dev
发版0.12.0
2 parents 68b9dac + 1a8614c commit 905822a

1,177 files changed

Lines changed: 21584 additions & 22663 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
###
2-
# @Github: https://github.com/Certseeds/CS203_DSAA_template
32
# @Author: nanoseeds
43
# @Date: 2020-07-15 23:48:29
54
# @LastEditors: nanoseeds

.github/workflows/daily.yml

Lines changed: 0 additions & 93 deletions
This file was deleted.

.github/workflows/pull_request.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ jobs:
1515
runs-on: ${{ matrix.os }}
1616
strategy:
1717
matrix:
18-
os: [ ubuntu-20.04, ubuntu-22.04 ]
18+
os: [ ubuntu-24.04 ]
1919
env:
20-
CC: gcc-10
21-
CXX: g++-10
20+
CC: gcc-13
21+
CXX: g++-13
2222
# Steps represent a sequence of tasks that will be executed as part of the job
2323
steps:
2424

2525
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2626
- name: checkout code
27-
uses: actions/checkout@v3
28-
- uses: actions/cache@v3
27+
uses: actions/checkout@v5
28+
- uses: actions/cache@v4
2929
env:
3030
cache-name: cache-cmake-files
3131
with:
@@ -105,14 +105,14 @@ jobs:
105105
runs-on: ${{ matrix.os }}
106106
strategy:
107107
matrix:
108-
os: [ ubuntu-20.04, ubuntu-22.04 ]
108+
os: [ ubuntu-24.04 ]
109109

110110
# Steps represent a sequence of tasks that will be executed as part of the job
111111
steps:
112112

113113
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
114114
- name: checkout code
115-
uses: actions/checkout@v3
115+
uses: actions/checkout@v5
116116

117117
# ensure the path and files of project
118118
- name: ensure the path and files of project

.github/workflows/release.yml

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ jobs:
1616
runs-on: ${{ matrix.os }}
1717
strategy:
1818
matrix:
19-
os: [ ubuntu-20.04, ubuntu-22.04 ]
19+
os: [ ubuntu-24.04 ]
2020
env:
21-
CC: gcc-10
22-
CXX: g++-10
21+
CC: gcc-13
22+
CXX: g++-13
2323
# Steps represent a sequence of tasks that will be executed as part of the job
2424
steps:
2525

2626
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2727
- name: checkout code
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v5
2929

3030
- name: hardwares - cpu
3131
run: nproc; cat /proc/cpuinfo
@@ -78,16 +78,19 @@ jobs:
7878
# This workflow contains a single job called "build"
7979
build:
8080
name: publish release
81-
if: github.repository == 'Certseeds/CS203_DSAA_template'
81+
env:
82+
CC: gcc-13
83+
CXX: g++-13
84+
if: github.repository == 'Certseeds/algorithm-template'
8285
needs: test
8386
# The type of runner that the job will run on
84-
runs-on: ubuntu-22.04
87+
runs-on: ubuntu-24.04
8588
# Steps represent a sequence of tasks that will be executed as part of the job
8689
steps:
8790

8891
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
8992
- name: checkout code
90-
uses: actions/checkout@v3
93+
uses: actions/checkout@v5
9194

9295
- name: Branch name
9396
id: branch_name
@@ -128,11 +131,11 @@ jobs:
128131
- name: zip the packet
129132
working-directory: ./../
130133
run: |
131-
zip -r script_no_need.zip ./CS203_DSAA_template -x "*/.git/*"
134+
zip -r script_no_need.zip ./algorithm-template -x "*/.git/*"
132135
tree
133136
134137
- name: release
135-
uses: softprops/action-gh-release@v1
138+
uses: softprops/action-gh-release@v2
136139
if: startsWith(github.ref, 'refs/tags/')
137140
with:
138141
files: ./../script_no_need.zip
@@ -144,18 +147,19 @@ jobs:
144147

145148
release-branch:
146149
name: publish release-branch
147-
if: github.repository == 'Certseeds/CS203_DSAA_template'
150+
env:
151+
CC: gcc-13
152+
CXX: g++-13
153+
if: github.repository == 'Certseeds/algorithm-template'
148154
needs: [ test, build ]
149155
# The type of runner that the job will run on
150-
runs-on: ubuntu-22.04
151-
env:
152-
GCC_V: 11
156+
runs-on: ubuntu-24.04
153157
# Steps represent a sequence of tasks that will be executed as part of the job
154158
steps:
155159

156160
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
157161
- name: checkout code
158-
uses: actions/checkout@v3
162+
uses: actions/checkout@v5
159163

160164
- name: Branch name
161165
id: branch_name

.github/workflows/rust_build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name: Rust Build and Test
99
# Controls when the action will run. Triggers the workflow on push or pull request
1010
# events but only for the master branch
1111
on:
12-
[ push,pull_request ]
12+
workflow_dispatch:
1313

1414
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1515
jobs:
@@ -20,16 +20,16 @@ jobs:
2020
runs-on: ${{ matrix.os }}
2121
strategy:
2222
matrix:
23-
os: [ windows-latest,ubuntu-20.04, ubuntu-22.04 ]
23+
os: [ windows-latest,ubuntu-24.04 ]
2424
# Steps represent a sequence of tasks that will be executed as part of the job
2525
steps:
2626

2727
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2828
- name: checkout code
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v5
3030

3131
- name: Cache Packages
32-
uses: actions/cache@v3
32+
uses: actions/cache@v4
3333
with:
3434
path: ~/.cargo
3535
key: ${{ matrix.os }}-rust-toolchain-${{ hashFiles('**/*.toml') }}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
test:
1010
name: test dev
1111
# The type of runner that the job will run on
12-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-latest
1313

1414
# Steps represent a sequence of tasks that will be executed as part of the job
1515
steps:

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
###
2-
## @Github: https://github.com/Certseeds/CS203_DSAA_template
32
## @Author: nanoseeds
43
## @Date: 2020-07-15 23:48:29
54
## @LastEditors: nanoseeds
@@ -316,8 +315,6 @@ build/
316315

317316
# idea
318317
.idea/*
319-
!.idea/codeStyles
320-
!.idea/fileTemplates
321318

322319
# File-based project format
323320
*.iws
@@ -340,3 +337,7 @@ fabric.properties
340337
*.o
341338
*.so
342339
*.exe
340+
341+
##
342+
343+
*.old

.idea/.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

.idea/.gitignore

Lines changed: 0 additions & 11 deletions
This file was deleted.

.idea/codeStyles/.gitignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)