Skip to content

Commit 2152b58

Browse files
Merge pull request #1 from dreamer-coding/main
First draft PR
2 parents ddc2c1c + 10700ff commit 2152b58

Some content is hidden

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

54 files changed

+5206
-0
lines changed

.github/.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
builddir
2+
.DS_Store
3+
subprojects/**

.github/ISSUE_TEMPLATE/bug_report.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Desktop (please complete the following information):**
24+
- OS: [e.g. iOS]
25+
- Version [e.g. 22]
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/PULL_REQUEST_TEMPLATE.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Fossil Test - Pull Request
2+
3+
## Description
4+
<!-- Briefly describe the purpose and scope of this pull request. -->
5+
6+
## Testing
7+
<!-- Describe the testing process or steps taken to ensure the changes work as expected. -->
8+
9+
## Checklist
10+
- [ ] Code follows the project's coding standards.
11+
- [ ] Tests have been added or updated to cover the changes.
12+
- [ ] Documentation has been updated to reflect the changes.
13+
- [ ] The code has been reviewed by team members.
14+
- [ ] All checks and tests pass.
15+
- [ ] The license header and notices are updated where necessary.
16+
17+
## License
18+
This project is licensed under the Mozilla Public License - see the [LICENSE](LICENSE) file for details.

.github/ciimage/Dockerfile.archlinux

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Use a specific Arch Linux base image
2+
FROM archlinux:latest
3+
4+
# Set environment variables to avoid interaction
5+
ENV TZ=UTC
6+
7+
# Update and install system dependencies
8+
RUN pacman -Syu --noconfirm && \
9+
pacman -S --noconfirm \
10+
gcc \
11+
clang \
12+
gdb \
13+
llvm \
14+
rust \
15+
cargo \
16+
wget \
17+
python \
18+
python-pip \
19+
git \
20+
cmake \
21+
meson \
22+
ninja \
23+
tzdata && \
24+
pacman -Scc --noconfirm
25+
26+
# Set environment variables
27+
ENV CC=/usr/bin/clang
28+
ENV CXX=/usr/bin/clang++
29+
ENV LD_LIBRARY_PATH=/usr/local/lib
30+
31+
# Set working directory
32+
WORKDIR /workspace
33+
34+
# Default command
35+
CMD ["bash"]

.github/ciimage/Dockerfile.debian

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Use a specific Debian base image
2+
FROM debian:buster
3+
4+
# Set environment variables to avoid interaction
5+
ENV DEBIAN_FRONTEND=noninteractive \
6+
TZ=UTC
7+
8+
# Install system dependencies and clean up
9+
RUN apt-get update && \
10+
apt-get install -y \
11+
build-essential \
12+
clang \
13+
gcc \
14+
g++ \
15+
gdb \
16+
llvm \
17+
libstdc++-8-dev \
18+
cmake \
19+
wget \
20+
python3 \
21+
python3-pip \
22+
git && \
23+
apt-get clean && \
24+
rm -rf /var/lib/apt/lists/*
25+
26+
# Install Meson and Ninja
27+
RUN python3 -m pip install --no-cache-dir meson ninja==1.10.2
28+
29+
# Set environment variables
30+
ENV CC=/usr/bin/clang
31+
ENV CXX=/usr/bin/clang++
32+
ENV LD_LIBRARY_PATH=/usr/local/lib
33+
34+
# Set working directory
35+
WORKDIR /workspace
36+
37+
# Default command
38+
CMD ["bash"]

.github/ciimage/Dockerfile.fedora

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Use a specific Fedora base image
2+
FROM fedora:34
3+
4+
# Set environment variables to avoid interaction
5+
ENV TZ=UTC
6+
7+
# Install system dependencies and clean up
8+
RUN dnf -y update && \
9+
dnf -y groupinstall "Development Tools" && \
10+
dnf install -y \
11+
gcc \
12+
gcc-c++ \
13+
clang \
14+
gdb \
15+
llvm \
16+
rust \
17+
cargo \
18+
wget \
19+
python3 \
20+
python3-pip \
21+
git && \
22+
dnf clean all
23+
# Install Meson and Ninja using pip
24+
RUN python3 -m pip install --no-cache-dir cmake meson ninja
25+
26+
# Set environment variables
27+
ENV CC=/usr/bin/clang
28+
ENV CXX=/usr/bin/clang++
29+
ENV LD_LIBRARY_PATH=/usr/local/lib64
30+
31+
# Set working directory
32+
WORKDIR /workspace
33+
34+
# Default command
35+
CMD ["bash"]

.github/ciimage/Dockerfile.ubuntu

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Use a specific Ubuntu base image
2+
FROM ubuntu:20.04
3+
4+
# Set environment variables to avoid interaction
5+
ENV DEBIAN_FRONTEND=noninteractive \
6+
TZ=UTC
7+
8+
# Install system dependencies and clean up
9+
RUN apt-get update && \
10+
apt-get install -y \
11+
build-essential \
12+
clang \
13+
gcc \
14+
g++ \
15+
gdb \
16+
llvm \
17+
libstdc++-10-dev \
18+
rustc \
19+
cargo \
20+
wget \
21+
python3 \
22+
python3-pip \
23+
git \
24+
tzdata && \
25+
apt-get clean && \
26+
rm -rf /var/lib/apt/lists/*
27+
28+
RUN python3 -m pip install --no-cache-dir cmake meson ninja
29+
30+
# Set environment variables
31+
ENV CC=/usr/bin/gcc
32+
ENV CXX=/usr/bin/g++
33+
ENV LD_LIBRARY_PATH=/usr/local/lib

.github/crossfiles/arm.txt

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[binaries]
2+
c = 'arm-linux-gnueabi-gcc'
3+
cpp = 'arm-linux-gnueabi-g++'
4+
ar = 'arm-linux-gnueabi-ar'
5+
strip = 'arm-linux-gnueabi-strip'
6+
7+
[host_machine]
8+
system = 'linux'
9+
cpu_family = 'arm'
10+
cpu = 'armv7'
11+
endian = 'little'

.github/crossfiles/arm64.txt

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[binaries]
2+
c = 'aarch64-linux-gnu-gcc'
3+
cpp = 'aarch64-linux-gnu-g++'
4+
ar = 'aarch64-linux-gnu-ar'
5+
strip = 'aarch64-linux-gnu-strip'
6+
7+
[host_machine]
8+
system = 'linux'
9+
cpu_family = 'aarch64'
10+
cpu = 'aarch64'
11+
endian = 'little'

.github/crossfiles/mips.txt

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[binaries]
2+
c = 'mips-linux-gnu-gcc'
3+
cpp = 'mips-linux-gnu-g++'
4+
ar = 'mips-linux-gnu-ar'
5+
strip = 'mips-linux-gnu-strip'
6+
7+
[host_machine]
8+
system = 'linux'
9+
cpu_family = 'mips'
10+
cpu = 'mips'
11+
endian = 'big'

.github/crossfiles/mipsel.txt

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[binaries]
2+
c = 'mipsel-linux-gnu-gcc'
3+
cpp = 'mipsel-linux-gnu-g++'
4+
ar = 'mipsel-linux-gnu-ar'
5+
strip = 'mipsel-linux-gnu-strip'
6+
7+
[host_machine]
8+
system = 'linux'
9+
cpu_family = 'mips'
10+
cpu = 'mipsel'
11+
endian = 'little'

.github/crossfiles/ppc.txt

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[binaries]
2+
c = 'powerpc-linux-gnu-gcc'
3+
cpp = 'powerpc-linux-gnu-g++'
4+
ar = 'powerpc-linux-gnu-ar'
5+
strip = 'powerpc-linux-gnu-strip'
6+
7+
[host_machine]
8+
system = 'linux'
9+
cpu_family = 'ppc'
10+
cpu = 'powerpc'
11+
endian = 'big'

.github/crossfiles/ppc64le.txt

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[binaries]
2+
c = 'powerpc64le-linux-gnu-gcc'
3+
cpp = 'powerpc64le-linux-gnu-g++'
4+
ar = 'powerpc64le-linux-gnu-ar'
5+
strip = 'powerpc64le-linux-gnu-strip'
6+
7+
[host_machine]
8+
system = 'linux'
9+
cpu_family = 'ppc64'
10+
cpu = 'ppc64le'
11+
endian = 'little'

.github/crossfiles/riscv64.txt

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[binaries]
2+
c = 'riscv64-linux-gnu-gcc'
3+
cpp = 'riscv64-linux-gnu-g++'
4+
ar = 'riscv64-linux-gnu-ar'
5+
strip = 'riscv64-linux-gnu-strip'
6+
7+
[host_machine]
8+
system = 'linux'
9+
cpu_family = 'riscv'
10+
cpu = 'riscv64'
11+
endian = 'little'

.github/crossfiles/s390x.txt

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[binaries]
2+
c = 's390x-linux-gnu-gcc'
3+
cpp = 's390x-linux-gnu-g++'
4+
ar = 's390x-linux-gnu-ar'
5+
strip = 's390x-linux-gnu-strip'
6+
7+
[host_machine]
8+
system = 'linux'
9+
cpu_family = 's390x'
10+
cpu = 's390x'
11+
endian = 'big'

.github/crossfiles/sparc64.txt

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[binaries]
2+
c = 'sparc64-linux-gnu-gcc'
3+
cpp = 'sparc64-linux-gnu-g++'
4+
ar = 'sparc64-linux-gnu-ar'
5+
strip = 'sparc64-linux-gnu-strip'
6+
7+
[host_machine]
8+
system = 'linux'
9+
cpu_family = 'sparc64'
10+
cpu = 'sparc64'
11+
endian = 'big'

.github/dependabot.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Dependabot configuration file for GitHub Actions dependencies
2+
version: 2
3+
4+
updates:
5+
# Maintain dependencies for GitHub Actions
6+
- package-ecosystem: "github-actions"
7+
directory: "/"
8+
schedule:
9+
# Update dependencies weekly
10+
interval: "weekly"
11+
# Set update time to early morning
12+
time: "05:55"

0 commit comments

Comments
 (0)