Skip to content

Commit

Permalink
master -> main
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Nov 17, 2024
1 parent b9ed3d8 commit 3e4a9d4
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 26 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:
name: sanitizer - ${{ matrix.image_owner }}${{ matrix.os }}:${{ matrix.codename }} | ${{ matrix.labels[0] }}
steps:
- name: add cppfw deb repo
uses: myci-actions/add-deb-repo@master
uses: myci-actions/add-deb-repo@main
with:
repo: deb https://gagis.hopto.org/repo/cppfw/${{ matrix.os }} ${{ matrix.codename }} main
repo-name: cppfw
keys-asc: https://gagis.hopto.org/repo/cppfw/pubkey.gpg
install: myci git
- name: add llvm repo (for clang-format)
uses: myci-actions/add-deb-repo@master
uses: myci-actions/add-deb-repo@main
with:
repo: deb https://apt.llvm.org/${{ matrix.codename }} llvm-toolchain-${{ matrix.codename }} main
repo-name: llvm
Expand All @@ -40,7 +40,7 @@ jobs:
run: |
apt install --assume-yes devscripts equivs
- name: git clone
uses: myci-actions/checkout@master
uses: myci-actions/checkout@main
- name: prepare debian package
run: myci-deb-prepare.sh
- name: install deps
Expand Down Expand Up @@ -81,22 +81,22 @@ jobs:
# configure timezone to avoid 'tzdata' package to require user interaction during installation (needed for ubuntu:focal)
TZ=Europe/Helsinki ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
- name: add cppfw deb repo
uses: myci-actions/add-deb-repo@master
uses: myci-actions/add-deb-repo@main
with:
repo: deb https://gagis.hopto.org/repo/cppfw/${{ matrix.os }} ${{ matrix.codename }} main
repo-name: cppfw
keys-asc: https://gagis.hopto.org/repo/cppfw/pubkey.gpg
install: myci git devscripts equivs nodejs
- name: add llvm repo (for clang-format)
uses: myci-actions/add-deb-repo@master
uses: myci-actions/add-deb-repo@main
with:
repo: deb https://apt.llvm.org/${{ matrix.codename }} llvm-toolchain-${{ matrix.codename }} main
repo-name: llvm
keys-asc: https://apt.llvm.org/llvm-snapshot.gpg.key
- name: git clone
uses: myci-actions/checkout@master
uses: myci-actions/checkout@main
- name: set PACKAGE_VERSION
uses: myci-actions/export-env-var@master
uses: myci-actions/export-env-var@main
with: {name: PACKAGE_VERSION, value: $(myci-deb-version.sh debian/changelog)}
- name: prepare debian package
run: myci-deb-prepare.sh
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
rm -rf /usr/local/bin/python3*
rm -rf /usr/local/bin/python3*-config
- name: git clone
uses: myci-actions/checkout@master
uses: myci-actions/checkout@main
- name: install clang-tidy and clang-format
run: |
brew install llvm
Expand All @@ -144,16 +144,16 @@ jobs:
- name: install ci tools
run: brew install myci make
- name: set PATH to use latest make
uses: myci-actions/export-env-var@master
uses: myci-actions/export-env-var@main
with: {name: PATH, value: "$HOMEBREW_PREFIX/opt/make/libexec/gnubin:$PATH"}
- name: set CFLAGS
uses: myci-actions/export-env-var@master
uses: myci-actions/export-env-var@main
with: {name: CFLAGS, value: "-isystem $HOMEBREW_PREFIX/include $CFLAGS"}
- name: set CXXFLAGS
uses: myci-actions/export-env-var@master
uses: myci-actions/export-env-var@main
with: {name: CXXFLAGS, value: "-isystem $HOMEBREW_PREFIX/include $CXXFLAGS"}
- name: set LDFLAGS
uses: myci-actions/export-env-var@master
uses: myci-actions/export-env-var@main
with: {name: LDFLAGS, value: "-L $HOMEBREW_PREFIX/lib $LDFLAGS"}
- name: install deps
run: myci-brew-install.sh `myci-list-deps-homebrew.sh`
Expand Down Expand Up @@ -184,9 +184,9 @@ jobs:
- name: install ci tools
run: brew install myci
- name: git clone
uses: myci-actions/checkout@master
uses: myci-actions/checkout@main
- name: set PACKAGE_VERSION
uses: myci-actions/export-env-var@master
uses: myci-actions/export-env-var@main
with: {name: PACKAGE_VERSION, value: $(myci-deb-version.sh debian/changelog)}
- name: add cocoapods repo
run: pod repo add --silent cppfw https://[email protected]/cppfw/cocoapods-repo.git
Expand Down Expand Up @@ -216,16 +216,16 @@ jobs:
container: mingc/android-build-box:latest
steps:
- name: git clone
uses: myci-actions/checkout@master
uses: myci-actions/checkout@main
- name: add cppfw deb repo
uses: myci-actions/add-deb-repo@master
uses: myci-actions/add-deb-repo@main
with:
repo: deb https://gagis.hopto.org/repo/cppfw/$(lsb_release --id --short | tr '[:upper:]' '[:lower:]') $(lsb_release --codename --short) main
repo-name: cppfw
keys-asc: https://gagis.hopto.org/repo/cppfw/pubkey.gpg
install: myci
- name: set PACKAGE_VERSION
uses: myci-actions/export-env-var@master
uses: myci-actions/export-env-var@main
with: {name: PACKAGE_VERSION, value: $(myci-deb-version.sh debian/changelog)}
- name: build
run: |
Expand Down Expand Up @@ -259,22 +259,22 @@ jobs:
msys2-devel
mingw-w64-${{ matrix.arch }}-toolchain
- name: add cppfw pacman msys repo
uses: myci-actions/add-pacman-repo@master
uses: myci-actions/add-pacman-repo@main
with:
name: cppfw_msys
url: https://gagis.hopto.org/repo/cppfw/msys2/msys
shell: 'msys2 {0}'
key-server: https://gagis.hopto.org/repo/cppfw/pubkey.gpg
install: myci
- name: add cppfw pacman msys/mingw repo
uses: myci-actions/add-pacman-repo@master
uses: myci-actions/add-pacman-repo@main
with:
name: cppfw_${{ matrix.repo }}
url: https://gagis.hopto.org/repo/cppfw/msys2/${{ matrix.repo }}
shell: 'msys2 {0}'
key-server: https://gagis.hopto.org/repo/cppfw/pubkey.gpg
- name: git clone
uses: myci-actions/checkout@master
uses: myci-actions/checkout@main
- name: prepare pacman package
run: myci-apply-version.sh --version $(myci-deb-version.sh debian/changelog) msys2/PKGBUILD.in
- name: build
Expand All @@ -300,7 +300,7 @@ jobs:
- name: git clone
uses: actions/checkout@v3
- name: install CoAPP tools
uses: myci-actions/install-coapp-tools@master
uses: myci-actions/install-coapp-tools@main
- name: nuget update
run: |
nuget restore msvs_solution/msvs_solution.sln
Expand All @@ -310,7 +310,7 @@ jobs:
- name: build
run: .\nuget\build_nuget.ps1
- name: deploy
uses: myci-actions/publish-nuget@master
uses: myci-actions/publish-nuget@main
with:
filename: '.\nuget\*.nupkg'
api-key: ${{ secrets.NUGET_DOT_ORG_API_KEY }}
Expand Down
1 change: 1 addition & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[submodule "tool-configs"]
path = tool-configs
url = ../../cppfw/tool-configs
branch = main
4 changes: 2 additions & 2 deletions nuget/nuget.autopkg.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ nuget{
title: Intrusive C++ GUI library;
authors: {Ivan Gagis};
owners: {Ivan Gagis};
licenseUrl: "https://raw.githubusercontent.com/cppfw/ruisapp/master/LICENSE";
licenseUrl: "https://raw.githubusercontent.com/cppfw/ruisapp/main/LICENSE";
projectUrl: "https://github.com/cppfw/ruisapp";
iconUrl: "https://github.com/cppfw/ruisapp/blob/master/logo.svg";
iconUrl: "https://github.com/cppfw/ruisapp/blob/main/logo.svg";
requireLicenseAcceptance:false;
summary: C++ GUI library;

Expand Down
2 changes: 1 addition & 1 deletion tool-configs
2 changes: 1 addition & 1 deletion wiki/Installation.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
= Istallation
:package_name: ruisapp

. Setup your OS-preferred package system repo following link:https://github.com/cppfw/wiki/blob/master/EnableRepo.adoc[this manual]
. Setup your OS-preferred package system repo following link:https://github.com/cppfw/wiki/blob/main/EnableRepo.adoc[this manual]
. Install package
+
- **deb** (Linux): `lib{package_name}-dev`
Expand Down

0 comments on commit 3e4a9d4

Please sign in to comment.